linux - UDP send test fails on amazon ec2 - all outgoing traffic enabled -


i'm running ubuntu 14.04 instance on amazon ec2- can't seem send udp packets instance local machine.

running followings commands: on amazon ec2 instance:

echo "test" | netcat -vu m.y.i.p 5500

connection m.y.i.p 5500 port [udp/*] succeeded!

on local machine:

netcat -luv 5500

listening on [0.0.0.0] (family 0, port 5500)

so make connection, never receive test packet on local machine.

is there else might need configure instance work?

a udp transmission not have connection (as tcp) message "connection m.y.i.p 5500 port [udp/*] succeeded!" doesn't tell true success of transmission of packet b. might have never left originating machine (due firewall rule).

in experience common udp problems firewall blocks @ incoming machine need check on firewall rules might blocking udp incoming on port 5500.

if looks ok, easiest way debug use packet sniffer (tcpdump, wireshark or similar). first confirm udp packet leaving source machine, try see incoming on target machine.

tcpdump host m.y.i.p 

Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -