aspose file tools*
The moose likes Tomcat and the fly likes The requested URL could not be retrieved : connection failed  (111) connection refuse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "The requested URL could not be retrieved : connection failed  (111) connection refuse" Watch "The requested URL could not be retrieved : connection failed  (111) connection refuse" New topic
Author

The requested URL could not be retrieved : connection failed (111) connection refuse

abhijeet srivastava
Greenhorn

Joined: Aug 22, 2006
Posts: 26
Hi all!

I have Tomcat 5.5.17 and set JAVA_home and path variables.
But on testing http://localhost:8080 in url it shows error-

ERROR
The requested URL could not be retrieved

------------------------------------------------------

While trying to retrieve the URL: http://localhost:8080/

The following error was encountered:

Connection Failed
The system returned:

(111) Connection refusedThe remote host or network may be down. Please try the request again.

Your cache administrator is root.



------------------------------------------------------------------

Generated Fri, 03 Nov 2006 06:51:31 GMT by 202.54.99.2 (squid/2.5.STABLE9)


Whats wrong???
pawank gupta
Ranch Hand

Joined: Jun 07, 2006
Posts: 34
first check your server started properly or not. if yes then check it via http://127.0.0.1:8080 may be your server.xml file not set with localhost, or your host mapping is not done in system file i.e. /system32/ect/host
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
May be your server is not running on that particular port or not running at all. KIndly see the server logs after starting the server.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

First try using http://127.0.0.1:8080

If that works then you do disable your proxy option in your IE go to Tools -> Internet Options -> Connection tab then Lan setting and disable it.

Hope it helps you.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
abhijeet srivastava
Greenhorn

Joined: Aug 22, 2006
Posts: 26
Yes it is working with http://127.0.0.1:8080 and not with http://localhost:8080.

But when i am disabling proxy option in
IE->Tools -> Internet Options -> Connection tab

it works fine with http://localhost:8080 also.

Can you explain it??
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Even I dont know why it happens to IE after an incertain amount of time. But I found it too. Once it made me to use my local LAN IP instead of localhost or 127.0.0.1.

- Re-intallation might help

What are you getting on enabling the proxy after had it working fine once while proxy is disabled?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The requested URL could not be retrieved : connection failed (111) connection refuse