aspose file tools*
The moose likes JBoss/WildFly and the fly likes Port Forwarding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Port Forwarding" Watch "Port Forwarding" New topic
Author

Port Forwarding

vjy chin
Ranch Hand

Joined: Feb 17, 2005
Posts: 279
I am using jboss-5.1.0.GA and I have a question about port forwarding.

By default, jboss forwards the https request to 8443 and I want to change it to some other port, for e.g. 5000. What should I do?

I changed the settings in jboss-5.1.0.GA\server\default\deploy\jbossweb.sar\server.xml




I changed all the port values in the file to 5000, but when I restarted the server, all values changed back to 8443. So when I tried accessing the url as https://localhost:5000, it is not working.


Any ideas/suggestions.


Thanks.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

Don't change the server.xml. Instead, follow this http://community.jboss.org/wiki/AS5ServiceBindingManager

[My Blog] [JavaRanch Journal]
vjy chin
Ranch Hand

Joined: Feb 17, 2005
Posts: 279
Thanks, I will check it and let you know how it goes.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Port Forwarding
 
Similar Threads
Virtual host configuration
how to remove 8080 from URL before deployment
Could not create connection in Jboss 4.2.2GA
Unicode convert problem with Jboss in Linux
Tomcat 6.0.16 using 100% of CPU?