im trying to get an enet server to work but i dont have a lot of experience with networking
im not gonna provide any code since its pretty much just the example @ https://love2d.org/wiki/lua-enet
when i use localhost for server and client and run both on my pc everything works fine
to get it to work online i used my lan ip for the server, forwarded the port on my router (tested and working), and tested it with a friend trying to connect
but the packets dont seem to reach the program, i can tell with wireshark that theres definitely stuff arriving on that port
i tried it with a loopback so i can test it myself but that doesnt work either, but looks similar in wireshark
like i said i dont have any experience with wireshark, all i see is there are packets coming in wrapped in gsvp ?
did i make any obvious mistakes ? what info can i provide to help you help me ?
need help getting an enet server online
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: need help getting an enet server online
Can you post the examples as you used them? More specifically, did you change "localhost:6789" to something like "0.0.0.0:6789" in the server and to something sensible on the client?
I have zero experience with enet, but from a quick test, I see that if you don't do that, the server listens on localhost only, meaning it won't receive packets on the normal network interface you use for internet access.
I have zero experience with enet, but from a quick test, I see that if you don't do that, the server listens on localhost only, meaning it won't receive packets on the normal network interface you use for internet access.
Re: need help getting an enet server online
thats what i though so i changed the server to listen on my lan ip (192...) and the client tries to connect to my internet ip, but its not working
Re: need help getting an enet server online
turns out i made a mistake in my firewall rules, sorry guys
Who is online
Users browsing this forum: Bing [Bot] and 7 guests