Port 8080 Troubles

Contains tips for configurators working with Aware IM
Post Reply
technopak
Posts: 287
Joined: Thu Dec 04, 2008 2:16 pm

Port 8080 Troubles

Post by technopak »

I've had some trouble getting my application to run today - in particular, I could not connect my browser to the Aware login page at http://localhost:8080/AwareIM/logonAdmin.html, the connection was refused.

I tried everything I could find in documentation and forums including changing the Tomcat port number, opening ports on firewalls and switching off my anti-virus. Still I could not connect.

Internet Explorer finally gave me the hint on what the problem was. It said that 'localhost is not set up to establish a connection'.

Some Googling revealed the following solution to my problem on Experts Exchange -

"The solution is removing the next line in the windows host file C:\Windows\System32\drivers\etc\hosts

::1 localhost

This is an IpV6 entry. Put a # in front of it. "

Instead of commenting this IpV6 entry adding the following IpV4 entry above this line also helps:

127.0.0.1 localhost


or

Commented out the line

::1 LocalHost

with a # in the hosts file and it now works.


This update caused this:
Definition Update for Windows Defender - KB915597 (Definition 1.53.256.0)

It caused a removal of the IP mapping to localhost in the hosts file located in
C:\Windows\system32\drivers\etc\

You should include this line to the hosts file:
127.0.0.1 localhost"


Once I entered the line above in my hosts file, the connection worked as normal.

A connection problem which appeared to be very much an Aware issue proved to be a Windows Vista problem, resolved as above.

I'm posting this in the hope of helping some other individual as frustrated as I was in being unable to connect to an application which had been working fine till the day before.

Hope it helps.

Peter
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Thank you very much! This is an awesome discovery.
Aware IM Support Team
paddo2002
Posts: 83
Joined: Mon Dec 03, 2007 8:49 pm

Post by paddo2002 »

TechnoPak this is great. I think this describes the very problem I had the other day. I can't wait to get back to the office to give it a try!!!

Well Done.

Cheers
PM
technopak
Posts: 287
Joined: Thu Dec 04, 2008 2:16 pm

Post by technopak »

I've said it before and will again - this forum and the contributors to it are a superb learning resource for anyone learning or using Aware IM.

I'm regularly delighted to find gems of information here and on this occasion I'm pleased to share my latest experience too.

Happy configuring !!

Peter :-)
Powerm
Posts: 473
Joined: Mon Feb 01, 2010 9:44 pm
Contact:

Post by Powerm »

I have the same issue, host edit did not fix...
Independent Developer
www.atwing.com
customaware
Posts: 2405
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Post by customaware »

I have similar issue.

I connect to our intranet via web vpn ssl using Chrome on Mac
No problem.

Now when I try to connect to my app from Chrome on Mac

10.53.2.130:8080/AwareIM/paf.html

Will not connect.

Works alright in Firefox but not Chrome
App is best in Chrome

If I comment out the ::1 line as described above the vpn does not connect

However.....If I try under Chrome for Windows via parallels on Mac...it works.

Scratching head!
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Post Reply