This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Can't connect to tomcat throgh the localhost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Can Watch "Can New topic
Author

Can't connect to tomcat throgh the localhost

Serghei Jelauc
Ranch Hand

Joined: Jul 24, 2002
Posts: 128
Hi all.
I have installed the tomcat server and tryed to connect to it using http://localhost:8080, but the brouser displayed the "The page can not be displayed" message. When I try to connect through the internet using my ip it works. I can ping localhost and it works.
I think the problem is in the network settings.
Can somebody help me?

Thanks in advance.

[ August 29, 2004: Message edited by: Serghei Jelauc ]
[ August 29, 2004: Message edited by: Serghei Jelauc ]

SCJP 1.4 <br />SCBCD 1.3<br />SCWCD 1.4
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Moving to Tomcat forum...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
james edwin
Ranch Hand

Joined: Nov 22, 2001
Posts: 393
Hi,

There must be one file on machine called hosts and in windows XP Professional it's under C:\WINDOWS\system32\drivers\etc and it must contain an following entry :-

127.0.0.1 localhost

If this entry is not there,please do it.On your O/S.please search for this file and update it.

Regards,

James


Regards,
James
satish sathineni
Ranch Hand

Joined: May 03, 2004
Posts: 46
The Following code the reasons for "Page Cannot Be Displayed"

1. The server is not properly not started check the startup.bat for windows startup.sh for linux
2. Check the Server.xml file for the port number if it is set to 8080 ...
3.Only for windows check that IIS server is running as system process or not if it is running as systems startsup then change the Tomcat Port to some other number basically 8080 port is default for the IIS web server on windows OS.

For further clarifications do write u r OS version Tomcat version


Regards
S.N.Satish Kumar
Serghei Jelauc
Ranch Hand

Joined: Jul 24, 2002
Posts: 128
I have solved it.
I had to uncheck the "Automatically detect settings" checkbox in IExplorer Comnnection pane.

Thanks to all.
 
Consider Paul's rocket mass heater.
 
subject: Can't connect to tomcat throgh the localhost
 
Similar Threads
varstatus in nested foreach
Change the HTTP method for link
Urgently needed: Java developer w/ good experence in Swing/AWT in Toronto, Canada
TreePath object
Java Developer NYC Banking