Thread overview |
---|
February 22, 2017 Vibe.d: Listening to port 8080 on external device doesn't work | ||||
---|---|---|---|---|
| ||||
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? |
February 22, 2017 Re: Vibe.d: Listening to port 8080 on external device doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | 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".
|
February 22, 2017 Re: Vibe.d: Listening to port 8080 on external device doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | 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.
|
February 22, 2017 Re: Vibe.d: Listening to port 8080 on external device doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to krzaq | 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.
|
Copyright © 1999-2021 by the D Language Foundation