[SOLVED] enet cannot create any server
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: enet cannot create any server
I have never in my life been unable to connect to a server i bound to 127.0.0.1 or localhost.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
Re: enet cannot create any server
Weird. Maybe you have a route of some sort to 127.0.0.1 (which sounds like a security risk). If I run
on one computer and try to connect from another with
it doesn't connect. However if I use this in the first machine instead:
it connects perfectly.
Edit: See also https://stackoverflow.com/questions/240 ... t#24057311
Edit2: In https://security.stackexchange.com/ques ... onnections it says that for IPv6 the situation may be different, in that it might be possible to send spoofed IP packets to ::1.
Code: Select all
nc.openbsd -l 127.0.0.1 7766
Code: Select all
nc.openbsd -v <ip> 7766
Code: Select all
nc.openbsd -l 0.0.0.0 7766
Edit: See also https://stackoverflow.com/questions/240 ... t#24057311
Edit2: In https://security.stackexchange.com/ques ... onnections it says that for IPv6 the situation may be different, in that it might be possible to send spoofed IP packets to ::1.
Re: enet cannot create any server
might just be a unix thing.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
Re: enet cannot create any server
my ipv4 adress suddenly changed itself, i ran ipconfig command and it was definitely changed.
it was
Ethernet adapter Ethernet:
IPv4 Address. . . . . . . . . . . : 192.168.100.7(Preferred)
to
Ethernet adapter Ethernet:
IPv4 Address. . . . . . . . . . . : 192.168.100.3(Preferred)
i created server on that ip and everything can connect through LAN smoothly, that's all I care about. Thanks for all the help!
it was
Ethernet adapter Ethernet:
IPv4 Address. . . . . . . . . . . : 192.168.100.7(Preferred)
to
Ethernet adapter Ethernet:
IPv4 Address. . . . . . . . . . . : 192.168.100.3(Preferred)
i created server on that ip and everything can connect through LAN smoothly, that's all I care about. Thanks for all the help!
-
Re: enet cannot create any server
As Karai mentioned before, other devices (guests) don't care about your localhost, they would use the external address accessing your server (host).PGUp wrote: ↑Thu Jun 13, 2019 4:10 ama localhost can only be created and connected through the same machine, other devices wont connect to a localhost, that's why it is called localhost. I want other devices to connect, not only mine
Who is online
Users browsing this forum: Google [Bot] and 211 guests