aspose file tools*
The moose likes Tomcat and the fly likes port 8080 to 80 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "port 8080 to 80" Watch "port 8080 to 80" New topic
Author

port 8080 to 80

Sirisha Reddy
Ranch Hand

Joined: Jun 09, 2003
Posts: 75
Hello
Currently my web server is responding at port 8080 and wondering where to change it to port 80.

I already have an application running on jboss responding to http://xx:8080/app. I tried changing port number in server.xml file but now my app is not responding though http://xx is responding with default page.

where else do I have to change port numbers.. like web.xml of the specific app ??

Thanks for the help
Sirisha.


SCJP 1.4
Steven Lister
Greenhorn

Joined: Nov 15, 2004
Posts: 3
try
<Context path="" docBase="/path/to/your/app" debug="1" />
</Host>
Eric Lemaitre
Ranch Hand

Joined: Jul 03, 2004
Posts: 538

Hi !

You should try adapting "JAVA_OPTS" variable for "address=..." option in "JBOSS_HOME/bin/run.bat" :

rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%

Best regards.


Eric LEMAITRE
CNAM IT Engineer, MS/CS (RHCE, RHCX, SCJA, SCJP, SCJD, SCWCD, SCBCD, SCEA, Net+)
Free Online Tutorials: http://www.free-tutorials-online.net/
Sirisha Reddy
Ranch Hand

Joined: Jun 09, 2003
Posts: 75
Eric and Steven
The address= is 8787 not 8080.. could you explain how changin it to 80 would help ?

Steven
I guess you are refering to server.xml file and my app is not listed in the codebase ?!! there is root and examples... but my app is not listed.

Sirisha..
 
Consider Paul's rocket mass heater.
 
subject: port 8080 to 80