RTC 6.0.1 How to change port on liberty
Mathieu Defianas (159●5●29●38)
| asked Jan 06 '16, 8:42 a.m.
retagged Jan 20 '16, 11:54 a.m. by Ken Tessier (841●1●7)
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
Ralph Schoon (63.4k●3●36●46)
| 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 !
1
Geoffrey Clemm
commented Jan 06 '16, 9:10 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note that a defect exists for this: https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=380284
|
2 other answers
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. |
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
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.