IOS Test App provided does not allow connection from outside device
ZackHon12027 opened this issue · comments
ZackHon12027 commented
Yvo van Beek commented
Hi, when you create the Server
, please make sure that you're not binding it to interface localhost
.
// This server will only be accessible on localhost
try! server.start(port: 9000, interface: "localhost")
// This server will be accessible from other devices
try! server.start(port: 9000)
Next, when you try to connect to the Telegraph server running on your phone, make sure that you connect using the IP address of your phone instead of localhost
I'll close this for now, let me know if you run into any issues.