Ask Your Question
0

How to change the default ports for Swift services from ports 6000-6002 to unused ports 6200-6202

asked 2016-08-10 05:18:41 -0600

aric gravatar image

Hi,

How can I change the default ports for Swift services from ports 6000-6002 to unused ports 6200-6202, so they do not conflict with X-Windows or other services? Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-08-10 07:39:27 -0600

updated 2016-08-10 09:50:54 -0600

bind_port in swift conf files. See here.

edit flag offensive delete link more

Comments

Thank for your reply! There are three default ports 6000,6001 and 6002 for account,container and object, but the bind_port option can only define a port, so can I change the three ports at same time? Thanks!

aric gravatar imagearic ( 2016-08-10 09:15:18 -0600 )edit

My fault, I wrote file but it was files; you should have three different conf files:

  • account-server.conf
  • object-server.conf
  • container-server.conf

Each of them has a bind_port parameter.

Antonio G. gravatar imageAntonio G. ( 2016-08-10 09:50:35 -0600 )edit

Hi, Antonio G.

Your solution is nice, thank you very much!

aric gravatar imagearic ( 2016-08-11 21:50:27 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-10 05:18:41 -0600

Seen: 145 times

Last updated: Aug 10 '16