Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

port number in url  RSS feed

 
Ashwin venkatesh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,

I have developed a web application using jsp and servlets with tomcat server. the application is working fine in local network, but when i run in the browser the url is displaying the port number(http://local_ip_address:8080/application_folder/starting_jsp ) which should not happen.even when i specify the IP address should i need to give the port number.
I want this application to run in IIS server also, so i came to know that i should download jspisapi.dll and include it in IIS configuration to run jsp.

please help me in this regard at the earliest.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm confused.
the application is working fine in local network, but when i run in the browser

In the local network you're running it in a browser too, right? You can run the server with any port you like, and the URL will reflect that. Port 80 is most common, because -being the default port- you can leave out the port number.

This has nothing to do with the kind of server you're using; using IIS (with a servlet engine of some kind) works the same way as, say, Tomcat. (Although it can be hard to make Tomcat work on port 80).
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!