It's all about the answers!

Ask a question

RTC 6.0.1 How to change port on liberty


Mathieu Defianas (15942838) | asked Jan 06 '16, 8:42 a.m.
retagged Jan 20 '16, 11:54 a.m. by Ken Tessier (84117)
Hello,
How to change the https port on the liberty server ?
I would like to use 443 in order to 9443.
In the documentation, I read only information on tomcat or Websphere.
Thanks a lot
Regards
Mathieu

Accepted answer


permanent link
Ralph Schoon (63.1k33645) | answered Jan 06 '16, 9:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jan 06 '16, 9:29 a.m.
the port is set in the file server.xml.
The template for that file can be found in the folder

JazzTeamServer\server\liberty\clmServerTemplate\server.xml

After running the first time the templates get deployed and the file is copied over to

JazzTeamServer\server\liberty\servers\clm\server.xml

and can be edited there.


Mathieu Defianas selected this answer as the correct answer

Comments
Mathieu Defianas commented Jan 06 '16, 9:41 a.m.

Thanks Ralph !
I am going to create an enhancement to add this information on documentation
Have a nice day.


1
Geoffrey Clemm commented Jan 06 '16, 9:10 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

2 other answers



permanent link
Kevin Ramer (4.5k8183200) | answered Jan 06 '16, 9:21 a.m.
I've got a WAS Liberty profile in my Eclipse developent enviroment and opening the configuration for the profile shows a file name "server.xml" [ no path ].  In the folder that contains the actual I find:  usr/servers/server1/server.xml

Once the server.xml is found it appears that changing the httpEndpoint element's httpsPort ought to be the change needed.



permanent link
Ken Tessier (84117) | answered Jan 20 '16, 11:54 a.m.
No instructions for changing port numbers in Liberty server (380284) has been resolved. The change will be visible when we refresh our 6.0.2 Knowledge Center for the Sprint 2 milestone next Monday or Tuesday.

Ken 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.