Taien
New member
- Joined
- Jan 17, 2020
- Messages
- 3
- Programming Experience
- 10+
I'm writing an online game. I've constructed a system for passing packets via serialization. For some reason, if I run the server on my local network and connect from the same PC, it works fine. But any other PC on the network and on the internet cannot seem to send packets to the server.
I have tried port forwarding, allowing it through Windows Firewall, and hosting it via various IPs such as the local IP, my public IP, etc. Nothing seems to get through. Does anyone have any ideas as to why the network traffic would be getting blocked despite being allowed through the firewalls on both PCs and being port forwarded to the server? I am at a loss.
I have been trying to solve this for months now. I thought I had discovered the culprit the other day (Windows firewall), but that's a dead end too. Nothing I do seems to allow the packets to reach their destination short of hosting and running the game on the same PC. Please, help.
You can ask me for any code you may need and I'll post it. I'm incredibly frustrated and ready to just give up on my dreams. We've spent a year working on this game and I still cannot get it to successfully receive packets over the internet.....
I'm using the UDP protocol and I know my code is correct since it works on a local level. I just don't know why the packets aren't reaching their destination over the net. I need suggestions, any suggestion which might help me solve this. I know I'm being redundant now but I'm at my wit's end. Thanks for any help anyone can provide.
I have tried port forwarding, allowing it through Windows Firewall, and hosting it via various IPs such as the local IP, my public IP, etc. Nothing seems to get through. Does anyone have any ideas as to why the network traffic would be getting blocked despite being allowed through the firewalls on both PCs and being port forwarded to the server? I am at a loss.
I have been trying to solve this for months now. I thought I had discovered the culprit the other day (Windows firewall), but that's a dead end too. Nothing I do seems to allow the packets to reach their destination short of hosting and running the game on the same PC. Please, help.
You can ask me for any code you may need and I'll post it. I'm incredibly frustrated and ready to just give up on my dreams. We've spent a year working on this game and I still cannot get it to successfully receive packets over the internet.....
I'm using the UDP protocol and I know my code is correct since it works on a local level. I just don't know why the packets aren't reaching their destination over the net. I need suggestions, any suggestion which might help me solve this. I know I'm being redundant now but I'm at my wit's end. Thanks for any help anyone can provide.