• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

port number in url

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
keep an eye out for scorpions and black widows. But the tiny ads are safe.
Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders
https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing
reply
    Bookmark Topic Watch Topic
  • New Topic