- Open (in notepad or other text editor) domain.xml located in /glassfish/domains/domain1/config folder.
- Search for 8080 (there should be one occurance only ideally)
- Change it to 80 or 8088 or 8090 - whatever port no. you like and start the server.
- There is no step 4 :-)
All your calls to glassfish server now do not require 8080 in your url. This should work same on other platforms as well though I have not tested it. This way you should be able to change glassfish server other ports as well.
No comments:
Post a Comment