Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UDP DatagramSocket not working on port forwarding

 
Charles Simms
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use java.net.DatagramSocket to send DatagramPacket across the internet.

I have some hardware on my internal network which I want to send udp packets to from an external network using port forwarding set up on my Linksys WAG320n router. I can connect using telnet to the hardware proving that TCP and port forward works but when I try to send a UDP packets from an external network it fails.

I can however send the same packet internally and port forwarding works fine.

Am I missing something when programming using the DatagramSocket or is the problem on my router (Linksys WAG320n)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic