bibledit / cloud

Source code for Bibledit core library and Cloud binary
GNU General Public License v3.0
13 stars 3 forks source link

The webserver always gets remote IP address 0.0.0.0 #935

Closed teusbenschop closed 5 months ago

teusbenschop commented 6 months ago

The code uses getpeername, and the resulting IP address is always 0.0.0.0.

A possible solution is here:

https://stackoverflow.com/questions/17220006/in-what-conditions-getpeername-returns-ipport-0-0-0-00