Dear Friends I am using Java Webserver to inplement my Servlets and JSP i wanted to know as to on which port dose JSP run correctly 9091,9090 or 8080 in my case it is runnin properly on 8080 wher as servlets on 9091 can some 1 please clear Amit
<I>Chance Favours the Prepared minds"</I>
ashok khandelwal
Greenhorn
Joined: Dec 18, 2000
Posts: 6
posted
0
Originally posted by Amit Roy: Dear Friends I am using Java Webserver to inplement my Servlets and JSP i wanted to know as to on which port dose JSP run correctly 9091,9090 or 8080 in my case it is runnin properly on 8080 wher as servlets on 9091 can some 1 please clear Amit
hi amit As far i know u can run your servlet at 9090 port,and also on 8080 if you started your webservice by logging in administration of jws. for further question u can contact me ashokkhandelwal@epatra.com
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
The Servlets as well as JSP runs on port: 8080 only. just store the servlets in the Servlets folder and JSP in the public_html folder
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
Servlets and JSPs can run on any port you choose. For production use on a real internet site you should use port 80, as this is the default port for the HTTP protocol. For development use you can use any port, but one above 1000 is probably a good choice - ports below 1000 are reserverd for specific protocols, and may already be in use on your machine. A lot of servlet containers come set up to use port 8080, as that is above 1000 and will allow both a regular webserver to run on port 80, and your servlet server on port 8080. Look at the configuration details for your server to see how to set the port. On one machine I use, for example, webservers on ports 80, 9876, 10603, 10700, 10701, 10711 and 10720, and servlet servers on ports 24761 and 24762. The machine will accept HTTP requests to any of these ports.