wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes why localhost:8080 doesn't work? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "why localhost:8080 doesn Watch "why localhost:8080 doesn New topic
Author

why localhost:8080 doesn't work?

Jingh Yi
Ranch Hand

Joined: Mar 23, 2005
Posts: 90
Hi,

I'm using Tomcat for preparation for the exam. Starting from yesterday, localhost:8080 gives me an IIS homepage instead of Tomcat homepage. I had to use my ip address with 8080 to get Tomcat homepage. What can I do to make localhost:8080 a Tomcat homepage?

Thanks!
Jenny
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
It depends who is listening on localhost:8080, it looks it is IIS, so check its configuration. Try it with http://localhost:8080 .


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Jingh Yi
Ranch Hand

Joined: Mar 23, 2005
Posts: 90
That's what I use: http://localhost:8080. It used to be working, all the way until last Friday.
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Look what is really listening on all your ports, maybe tomcat is on another port. You can use this tool.

http://www.whatsrunning.net/whatsrunning/main.aspx
Alexandre Cervieri
Greenhorn

Joined: Aug 02, 2005
Posts: 27
Originally posted by Jingh Yin:
That's what I use: http://localhost:8080. It used to be working, all the way until last Friday.

Hello Jingh,
If you really have both IIS and Apache/Tomcat listening on port 8080, this is not a good practice, because the server that start up first will get the port and the other will get an exception from the operating system (something like port already used).
If you need to have both servers, I would suggest you to change IIS to listen on port 8088, or something like that. Just configure different ports, start up both servers and try them. It should work.
Regards,
Alexandre.
Dilruk Perera
Greenhorn

Joined: May 12, 2012
Posts: 3
try stopping all the server instances you might have started using your IDEs.
And try to start it manually from file system.

go to "<Eclipse Folder>\apache-tomcat-7.0.8\bin" { E.g : "C:\eclipse\apache-tomcat-7.0.8\bin" } and open start.bat by double clicking or using the command prompt.

Then try http://localhost
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Dilruk, You may not have noticed that this is very zombish thread.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why localhost:8080 doesn't work?
 
Similar Threads
Problem to start Tomcat Server
how to stop jboss server
first sample - simpleform controller
Tomcat integration with Eclipse
Apache server 6.0.18 error