File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to connect to localhost:8080??

 
Jignesh Gohel
Ranch Hand
Posts: 276
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ??
 
Jan Groth
Ranch Hand
Posts: 456
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 276
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic