Can't connect to a port forwarded socket server with public IP
Posted: Fri Oct 13, 2023 10:05 pm
Hi, i'm still quite new to this kind of stuff. I have been working with socket servers and clients for some time now but only on my PC. I wanted to make an app that will use socket server to recieve/send some info. But i had problems with connecting to the server from the wider network. I used port 1987 and i port forwarded it as tcp(i also tried udp and tcp&udp), entered my public ip into the host field on the client, tried to connect and it failed. I also tried making a DNS entry on my cloudflare so it had its own subdomain and it still didn't work. But when i enter my ip into some online port checker, set the port and click "Check", server displays "connected".
I don't know what to try anymore, i tried adding tcp:// before and that didn't work.
Thanks, ckacadv
I don't know what to try anymore, i tried adding tcp:// before and that didn't work.
Thanks, ckacadv