udp connections and private ip addresses

Just starting out? Need help? Post your questions and find answers here.
ChebbyShabby
Enthusiast
Enthusiast
Posts: 121
Joined: Mon Jun 26, 2006 10:47 am

udp connections and private ip addresses

Post by ChebbyShabby »

when using tcp, i can connect fine using the ip address from http://www.whatismyip.com. however, when i switch to udp, only private ip addresses work (in my case, 192.168.xxx.xxx). how do i fix this?
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Are you behind a firewall? If so, perhaps you need to do port forwarding?

http://www.xs4all.nl/~bluez/datatalk/pu ... forwarding
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
ChebbyShabby
Enthusiast
Enthusiast
Posts: 121
Joined: Mon Jun 26, 2006 10:47 am

Post by ChebbyShabby »

blueznl wrote:Are you behind a firewall? If so, perhaps you need to do port forwarding?

http://www.xs4all.nl/~bluez/datatalk/pu ... forwarding
all firewalls are down and yeah i have port forwarding activated in the router's settings. i'm just curious as to why it works when using TCP but not when using UDP.
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Post by LuCiFeR[SD] »

because you probably forgot to set TCP+UDP in the NAT port forwarding setting
ChebbyShabby
Enthusiast
Enthusiast
Posts: 121
Joined: Mon Jun 26, 2006 10:47 am

Post by ChebbyShabby »

LuCiFeR[SD] wrote:because you probably forgot to set TCP+UDP in the NAT port forwarding setting
whoops :oops:... thanks for that.
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Post by LuCiFeR[SD] »

no problem... glad I could help :P
Post Reply