Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC 6.0.1 How to change port on liberty

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

1 vote


Accepted answer

Permanent link
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

3 votes

Comments

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

1 vote


2 other answers

Permanent link
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.


0 votes


Permanent link
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 

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,122
× 115
× 18
× 10

Question asked: Jan 06 '16, 8:42 a.m.

Question was seen: 5,313 times

Last updated: Jan 20 '16, 11:54 a.m.

Confirmation Cancel Confirm