File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why localhost:8080 doesn't work?

 
Jingh Yi
Ranch Hand
Posts: 90
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 724
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends who is listening on localhost:8080, it looks it is IIS, so check its configuration. Try it with http://localhost:8080 .
 
Jingh Yi
Ranch Hand
Posts: 90
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what I use: http://localhost:8080. It used to be working, all the way until last Friday.
 
David Ulicny
Ranch Hand
Posts: 724
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dilruk, You may not have noticed that this is very zombish thread.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic