Solved

Port 8080 Not Listening

Posted on 2011-02-16
9
2,407 Views
Last Modified: 2012-06-27
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?
0
Comment
Question by:xoxomos
  • 7
9 Comments
 
LVL 9

Expert Comment

by:meko72
ID: 34910643
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.
0
 

Author Comment

by:xoxomos
ID: 34912057
If I understand you correctly, right now I would be content with just http://localhost:8080
0
 

Author Comment

by:xoxomos
ID: 34912063
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.
0
 

Author Comment

by:xoxomos
ID: 34912065
But the readme said use localhost:8080.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:xoxomos
ID: 34912517
Actually only the index page comes up.  None of the links ever arrive anywhere.
0
 
LVL 7

Expert Comment

by:techsathish
ID: 34913859
<Connector port="2011" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />

Change port no. to 8080 and then try it..
0
 

Author Comment

by:xoxomos
ID: 34918193
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.
0
 

Accepted Solution

by:
xoxomos earned 0 total points
ID: 35048040
I downloaded a fresh Tomcat6 after which initial install proceeded as expected.
0
 

Author Closing Comment

by:xoxomos
ID: 35106975
Install worked after fresh download.
0

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Join & Write a Comment

Suggested Solutions

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now