This is actually not related to jsp....
Its related to the Apache tomcat server..... :icon_rolleyes:

I run the startup.bat file where is located in bin folder..
than tomcat was started...it use 8080 port
(http://localhost:8080):icon_lol:

after that
I created the jsp page using netbeans & rut it.tomcat was started & run.....
it use port 8084 (http://localhost:8084):?:

If i want to go to tomcat manager I had to use

[B]http://localhost:8080/manager/html[/B]

If I run jsp/servlet page using netbeans it use

[B]http://localhost:8084/Project_Test/[/B]

:-/

Is it can happen....:icon_question:
What is happen in there :icon_question:
what is the mechanism in there :icon_question:
how many ports it can used ? (unlimited ? ) (Where is defined ? )

:icon_question:

Recommended Answers

All 2 Replies

inside the conf folder there is one file called server.xml ... I think you can find it there.......

<Connector port="8084" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" />

Here you can fix the port number .... anyway plz try it and sorry if im wrong

Thanks

ya...I know it...
Its use 8080 port... But problem is run jsp servlet using netbeans....
than it use port 8084 ....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.