five-server icon indicating copy to clipboard operation
five-server copied to clipboard

Cannot find a place to change host ip address

Open Awesomeplayer165 opened this issue 3 years ago • 3 comments

Discussed in https://github.com/yandeu/five-server/discussions/49

Originally posted by Awesomeplayer165 February 8, 2022 Thanks for coming out with this product, it seems great, but I am unable to use it for my purposes. In Live Server, you can change the host ip address in the settings.json by adding: "liveServer.settings.host": "${YOUR IP ADDRESS WANTED}". I cannot find this option in Five Server, and it keeps opening in the default localhost ip address. Because I have deployed an instance of VSC on the web, is there a way you could add this or point me in the direction of where I can modify the host ip address? Thanks so much.

Awesomeplayer165 avatar Feb 08 '22 19:02 Awesomeplayer165

There is an option host and useLocalIp. Doesn't this work?
https://github.com/yandeu/five-server/blob/main/src/types.ts

yandeu avatar Feb 08 '22 21:02 yandeu

There is an option host and useLocalIp. Doesn't this work?

https://github.com/yandeu/five-server/blob/main/src/types.ts

Looking from your comments, this does not solve what I am looking for. Also, how would I implement this? In the settings.json? I am trying to change it to an IP address not set a Boolean value.

Awesomeplayer165 avatar Feb 24 '22 21:02 Awesomeplayer165

Similar to #61

yandeu avatar Aug 27 '22 12:08 yandeu