On Friday, 5 January 2018 at 16:47:53 UTC, Steven Schveighoffer wrote:
On 1/5/18 11:30 AM, Martin Tschierschke wrote:
Hello,
when starting my vibe.d service I get the message of failed address binding:
Failed to listen on 127.0.0.1:8030
Failed to listen on 10.0.0.1:8030
object.Exception@../../.dub/packages/vibe-d-0.8.2-rc.2/vibe-d/http/vibe/http/server.d(2035):
 Failed to listen for incoming HTTP connections on any of the supplied 
interfaces.

It's attempting to listen on localhost:8030, and 10.0.0.1:8030, but can't bind to either address. Then it looks like you get an exception. Does it actually continue running?
Yes it works, the only strange thing is, that firefox seams to handle the direct use of the ip-address in a strange way.

sudo netstat -nlp | grep 8030
tcp 0 0 10.0.0.1:8030 0.0.0.0:* LISTEN 31181/mysql-browse tcp 0 0 127.0.0.1:8030 0.0.0.0:* LISTEN 31181/mysql-browse

looks o.k., (mysql-browse is my program).

I will try to minimize my program, to see if it has anything to do with my coding or if the error is caused by something else.

Thank you all (Steven, Webfreak and Crimaniak).

As mentioned before in "normal" environments, when using a name based request, there is no error, so I can work around it, but for people just starting with vibe + Firefox the first impression should not be: Oh, what the ... is that ... :-)



Reply via email to