File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Why does even the http://localhost:8080 test fail at other location???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Why does even the http://localhost:8080 test fail at other location????" Watch "Why does even the http://localhost:8080 test fail at other location????" New topic
Author

Why does even the http://localhost:8080 test fail at other location????

northfield Sid
Ranch Hand

Joined: Aug 08, 2002
Posts: 106
I have a JSP program running on tomcat webserver at home. This program works. At home the computer accesses the internet via a dialup modem.
I am trying to run this program at another location. I have taken my hard disk and installed the hard disk at the other computer. The other location is networked. It is running DHCP IP addressing. When I run the program there it does not work???
Also when I run the tomcat test there i.e
http://localhost:8080
In the status bar I get
Website found. Waiting for reply ...
but after few minutes I get the error message below:
why???
Please help
From home I ran the program as
http://localhost:8080/myJSPs/jsp/portal-project/preferences.jsp
this works perfectly.
At the other location I am trying the typing the same address in the address bar of IE6:
http://localhost:8080/myJSPs/jsp/portal-project/preferences.jsp
But it gives me the message in the status bar:

"Website found. Waiting for reply ... "
but after few minutes I get the error message below:
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
--------------------------------------------------------------------------------
Please try the following:
Click the Refresh button, or try again later.
If you typed the page address in the Address bar, make sure that it is spelled correctly.
To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).
If your Network Administrator has enabled it, Microsoft Windows can examine your network and automatically discover network connection settings.
If you would like Windows to try and discover them,
click Detect Network Settings
Some sites require 128-bit connection security. Click the Help menu and then click About Internet Explorer to determine what strength security you have installed.
If you are trying to reach a secure site, make sure your Security settings can support it. Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
Click the Back button to try another link.
Cannot find server or DNS Error
Internet Explorer
Please help why does this happen???
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Is it possible that this other computer is not configured to allow "localhost"?
Bill
Jon Dornback
Ranch Hand

Joined: Apr 24, 2002
Posts: 137
it sounds like your app server is not running properly. assuming you are running on windows, is the drive letter the same as on your home computer? if there is more than one hard drive in the new box, or connected in a different order, the drive letter can be different which could cause multiple problems with the server running.
is the server started? the ie6 page just says that it found localhost - that's easy, because localhost is always the computer you are currently on. but then the page didn't come up, meaning that the server failed. check the log files for your app server.


use the [CODE] tags - it makes it much easier for people to help you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why does even the http://localhost:8080 test fail at other location????