aspose file tools*
The moose likes Tomcat and the fly likes Not able to connect to localhost:8080?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Not able to connect to localhost:8080??" Watch "Not able to connect to localhost:8080??" New topic
Author

Not able to connect to localhost:8080??

Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
Hi,

I have jdk 5 version installed on my laptop.I installed Apache Tomcat 5.5 version with default settings.But when i tried to access the index page
using the url : http://localhost:8080 the browser pompted me for a login dialog box.Even after providing my local system user account's user id and password AND using admin as user name and password none it didnt worked.

When i saw the logs i got the following information:

Error initializing endpoint:
java.net.BindException : Address already in use:JVM_Bind:8080
at org.apache.tomcat.util.net_PoolTcpEndPoint..............................................

.....................
..........

Severe:Catalina.start
LifecycleException:Protocolhandler initialization failed:
java.net.BindException:Address already in use JVM_Bind:8080
at org.apache.catalina.connector.Connector.initialize ..........
...........................................

Error Starting End point
java.net.BindException : Address already in use:JVM_Bind:8080
.....................................................................................................


After that i installed Tomcat 4.1 version.But in this case when i run the start script by setting the required variables like CATALINA_HOME..etc ,i dont get anything and the console window gets closed immediately in a second with some error but i was not able to view the error.Also i checked logs but nothing was available.

So can anybody please let me know what could be the problems and how to resolve them ??


Regards,
Jignesh

The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
well, looks like some application different then the tomcat instance you are expecting to work is using port 8080. and calls a login screen :-)

shouldn't you be aware of any other app, try to reboot you computer and see if you still have the same error.

you can also change the tomcat port of course,

regards,
jan
Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
Hi,

How can we find out that which logical ports are used by which application in the machine??Is there any specific method to find out this??
 
Don't get me started about those stupid light bulbs.
 
subject: Not able to connect to localhost:8080??