Link to home
Start Free TrialLog in
Avatar of xoxomos
xoxomos

asked on

Port 8080 Not Listening

I downloaded Tomcat 6, unzipped it, set JAVA_HOME and ran the startup.bat on a XP machine.

Oops! Google Chrome could not connect to localhost:8080
Did you mean: localhost-­8080.­com

I then went into Windows Firewall and made 8080 an exception, but it made no difference.
Running a netstat -a | grep 8080 comes back with only a prompt.
What do I need to do to start 8080 to listening?
Avatar of meko72
meko72
Flag of United States of America image

If this is an webserver for the outside to see make sure you have port 8080 opened on your router or port fowarded to your server's IP address.
Avatar of xoxomos
xoxomos

ASKER

If I understand you correctly, right now I would be content with just http://localhost:8080
Avatar of xoxomos

ASKER

I looked in the server.xml

 <Connector port="2011" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />

If I use http://localhost:2011, everything comes up fine.
Avatar of xoxomos

ASKER

But the readme said use localhost:8080.
Avatar of xoxomos

ASKER

Actually only the index page comes up.  None of the links ever arrive anywhere.
<Connector port="2011" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />

Change port no. to 8080 and then try it..
Avatar of xoxomos

ASKER

Yes, i tried that.  The index.htm appears, but none of the links work after that.  I loaded Tomcat 5.5 on another machine and it works as the RUNNING.txt states without any bit twiddling at all.
ASKER CERTIFIED SOLUTION
Avatar of xoxomos
xoxomos

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xoxomos

ASKER

Install worked after fresh download.