Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

http://localhost:8081/ not working

 
shikhaj jainy
Ranch Hand
Posts: 30
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers

Hope you all are doing well.
I have two tomcat instances on my machine(apache-tomcat-7.0.5 and apache-tomcat-6.0.24).To run tomcat 7 I have made below changes in server.xml:-

shutdown port is changed from 8005 to 8006
connector port changed from 8080 to 8081
redirect port changed from 8443 to 8445
For AJP port changed from 8009 to 8010

and when i tried to connect using
http://localhost:8081/ ; it is not connecting , one message "Unable to connect " is coming.

There were no updated logs in \Tomcat 7 (logs should be there) and when i checked tomcat 6' s logs folder; 'Invalid Server SSL Protocol' exception is coming.

When i started Tomcat 7 why it is taking tomcat 6 and why http://localhost:8081/ is not working
I do not know where I am wrong Please suggest me.


Thank You.
Shikha
 
Tom Reilly
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are both instances running at the same time? How about trying to get both instances running individually and then see if they will run simultaneously?
 
Sunny Bhandari
Ranch Hand
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its always painful to find which port which is cauing the issue.

Better try use the installer and specify different ports in the installation steps.
 
shikhaj jainy
Ranch Hand
Posts: 30
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Tom & Sunny,

I am running only tomcat 7 (one instance);have done changes in Tomcat 7's server.xml and getting above result.


Please suggest me why this behavior is coming.



Thank You,
Shikha



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic