Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet issue

 
dkumar kizhakkel
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I created a servlet and upload the website in ISP provider area.But It working in my machine.But not in server.

locally it comes http://servername ort/ServletName
But in server http://www.urlname.org/ServletName (Port not comes.If it directly give the portno, it works)

How can it configure without specifying the portNo

Thanks to all
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64970
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The container must be configured to listen on port 80.
 
dkumar kizhakkel
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I configure container to listen port 80?
Can you specify which tag and which property?

In it in server.xml?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64970
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That greatly depends upon which container is being used.
 
dkumar kizhakkel
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Tomcat 5.0.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64970
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you look in server.xml to see if there was anything relevant?
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can change the port number on your local Tomcat - but I don't think that you are allowed to do it on your ISP's server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic