Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

connection refused, localhost not found

Adam Hardy

2003-12-08

Replies:

Hi Listers
I'm sceptical whether anybody else has ever suffered this bizarre
problem so I'm not expecting anybody to be able to help, but this is
seriously damaging my enjoyment of Monday morning.

I have tomcat 5.0.14 set up on one computer and it works fine mostly,
i.e. root context, JSP examples, manager apps are working fine.

The problem is with the app I'm developing. On Friday night last week I
did loads of debugging to sort out the JNDI connection pool, e.g.
configuring the app context, the web.xml etc.

Now when I try to call up http://localhost:8080/myapp/ the browser zooms
off to find http://www.localhost.net.au! When I try
http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from
the browsers - on my machine and on others. (root context still works as
I said).

Obviously I tried restarting tomcat, redeploying the app, taking out all
the filters, changing the context name, checked server.xml.

Anybody care to take a wild guess about what I need to do?

Tx
Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.