digitalmars.D.learn - Vibe.d: Listening to port 8080 on external device doesn't work
- aberba (5/5) Feb 21 2017 Using vibe.d, I bind to port 8080 at 127.0.0.1 but I can't access
Using vibe.d, I bind to port 8080 at 127.0.0.1 but I can't access server on my phone through hotspot using the external IP from ip addr on Linux. But 127.0.0 running Apache server works. Don't if its vibe.d or OS (ubuntu 14.04) How do I reached my vibe.d server in this case on my phone?
Feb 21 2017
On Wednesday, 22 February 2017 at 00:38:30 UTC, aberba wrote:Using vibe.d, I bind to port 8080 at 127.0.0.1 but I can't access server on my phone through hotspot using the external IP from ip addr on Linux. But 127.0.0 running Apache server works. Don't if its vibe.d or OS (ubuntu 14.04) How do I reached my vibe.d server in this case on my phone?Listen on "0.0.0.0".
Feb 21 2017
On Wednesday, 22 February 2017 at 00:53:53 UTC, krzaq wrote:On Wednesday, 22 February 2017 at 00:38:30 UTC, aberba wrote:Thanks. Worked! Just realized both 127.0.0.1 and 0.0.0.0 cannot be both activated on the same port.Using vibe.d, I bind to port 8080 at 127.0.0.1 but I can't access server on my phone through hotspot using the external IP from ip addr on Linux. But 127.0.0 running Apache server works. Don't if its vibe.d or OS (ubuntu 14.04) How do I reached my vibe.d server in this case on my phone?Listen on "0.0.0.0".
Feb 22 2017
On Wednesday, 22 February 2017 at 00:38:30 UTC, aberba wrote:Using vibe.d, I bind to port 8080 at 127.0.0.1 but I can't access server on my phone through hotspot using the external IP from ip addr on Linux. But 127.0.0 running Apache server works. Don't if its vibe.d or OS (ubuntu 14.04) How do I reached my vibe.d server in this case on my phone?Not forget to open 8080 port of incoming connections.
Feb 22 2017