Vibe.d: Listening to port 8080 on external device doesn't work

aberba via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 22 14:37:08 PST 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:
>> 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".

Thanks. Worked! Just realized both 127.0.0.1 and 0.0.0.0 cannot 
be both activated on the same port.


More information about the Digitalmars-d-learn mailing list