question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

serverBind doesn't work

See original GitHub issue

Hello,

The feature “serverBind” doesn’t work when I assign an IP in the gameserver.ini. It shows an error EADDRNOTAVAIL

Isn’t serverBind a whitelist-thingy feature to allow web clients?

For example, if the web server (client) has an IP 45.8.0.1, than if I insert that value in, doesn’t the server only make connection to that web server?

Thanks.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
cowpitscommented, Dec 19, 2016

server bind is for a server that has more than one IP address or a Multihome system connected to two different networks. For instance if you have an Ehternet adapter connected to your work network with IP 10.146.10.26 and your WiFi adapter connected to your Home network with 192.168.1.148 you can specify which adapter or IP the server listens on. Sometimes a system can be on the same network with more than one IP for instance 192.168.1.148 and 192.168.1.126 where you also host a website off it. You can designate 192.168.1.126 for Ogar and 192.168.1.148 works the same as IIS or Apache. At least my understanding of server IP bind. 0.0.0.0 means it listens on all IPs assigned to the system.

0reactions
taeukmecommented, Dec 19, 2016

@Megabyte918 Yes, from localhost loopback to a real web server IP.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Server doesn't bind to client - Stack Overflow
In the server code, if bind() fails, you are calling perror() to output the error (ok) but then it is followed by a...
Read more >
[Solution] "Failed to bind to port" - Support - Minecraft Forum
The problem is that another instance of the server is already running on that port. If you can't find the console to that...
Read more >
domain name system - Can not get my BIND server to work
I am trying to setup a BIND server. I have read some tutorials on the internet, but I have still not got it...
Read more >
Binding server to local IP or 0.0.0.0 does not work - HUGO
Everything works just fine when I run hugo server without any optional parameters. My website is available on http://localhost:1313 just as you ...
Read more >
Linux bind IP that doesn't exist with net.ipv4.ip_nonlocal_bind
Explains how to bind IP address that doesn't exist with net.ipv4.ip_nonlocal_bind option under Linux to build a high availability cluster.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found