简体   繁体   中英

What IP I should to specify to get vibed to work on server?

I have got next situation. There is site. One sub-domain of it map to server inside our network to nonstandard port.

Example: foo.domain.com is map to 85.169.223.158 to port 8083 . Which setting I should set in vibed, to get it work?

The default values:

settings.port = 8080;
settings.bindAddresses = ["::", "127.0.0.1"];

I tried specify:

settings.port = 8083;
settings.bindAddresses = ["::", "85.169.223.158"];

But I am getting Failed to listen on 85.169.223.158:8083 .

PS I changed IP from real to security reason.

Your vibed process should run on machine with the 85.169.223.158 IP. If it does, yet you are getting Failed to listen on 85.169.223.158:8083 , that means that you have some other process already listening on that port.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM