ao-space / gt

Fast WebSocket(s)/HTTP(s)/TCP relay proxy for making tunnels to localhost.
https://ao.space
Apache License 2.0
121 stars 34 forks source link

centos7.6中运行后 web地址访问不通 #54

Open luzacao opened 6 months ago

luzacao commented 6 months ago

如何设置web地址指定Ip访问

vyloy commented 6 months ago

@luzacao 默认监听在127.0.01,所以只有本机才可以访问,如果需要允许外网访问,请参考文档修改配置文件:https://github.com/ao-space/gt/blob/dev/libcs/README_CN.md#web-%E7%AE%A1%E7%90%86

例如:

......
#example
options:
  # Web Setting (Optional)
  # Web Address 
  webAddr: 0.0.0.0:8000
......