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
Can't connect to a port forwarded socket server with public IP
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9851
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Can't connect to a port forwarded socket server with public IP
1987 is in the Registered Port range. Have you tried a higher port number?
https://www.speedguide.net/port.php?port=1987
https://www.speedguide.net/port.php?port=1987
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Can't connect to a port forwarded socket server with public IP
I just tried with port 62302, still the same. Port checker says port is open and server just says connected when i click check port.