• Post Reply Bookmark Topic Watch Topic
  • New Topic

port 8080 to 80  RSS feed

 
Sirisha Reddy
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Steven Lister
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try
<Context path="" docBase="/path/to/your/app" debug="1" />
</Host>
 
Eric Lemaitre
Ranch Hand
Posts: 538
Eclipse IDE Hibernate Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sirisha Reddy
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!