Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Port 8080 Not Listening

Posted on 2011-02-16
9
Medium Priority
?
2,607 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

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…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

971 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