-
-
Notifications
You must be signed in to change notification settings - Fork 58
Description
In the windows system, I deployed an hsds using the file storage method. How can I deploy multiple hsds servers with different ports.I use the following command for deployment. And config.yml is located under the config folder
hsds --root_dir D:/hsds_data --host localhost --port 5101 --password_file config/passwd.txt --config_dir .\config --logfile hs.log
Under another project, I opened another command line to run hsds. At this time, I changed the port to 5199 and modified the parameters such as dn_port and head_port in config.yml, which were different from the first time. But at this point, an error was reported. I checked the log and found out
task: <Task finished name='Task-2' coro=<_run_app() done, defined at > exception=OSError(10048, "error while attempting to bind on address ('::', 6101, 0, 0): 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。")>......and`WARNING:root:process sn ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn0 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn1 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn2 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn3 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
READY! use endpoint: http://localhost:5101`
I confirm that no other ports conflict with these two ports. It seems that my config.yml has no effect at all. It still uses the same configuration. I want to know how I can deploy multiple hsds on the same computer, and they use different ports