Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

why localhost:8080 doesn't work?

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dilruk, You may not have noticed that this is very zombish thread.
 
reply
    Bookmark Topic Watch Topic
  • New Topic