Solved

Port 8080 Not Listening

Posted on 2011-02-16
9
2,490 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:xoxomos
ID: 34912065
But the readme said use localhost:8080.
0
 

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

792 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