Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Port Forwarding" Watch "Port Forwarding" New topic

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.

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Don't change the server.xml. Instead, follow this

[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:
subject: Port Forwarding
It's not a secret anymore!