id = 689
title = "Unable To Open UDP Port"
state = "opened"
created_at = "2021-10-23T06:57:28.984Z"
closed_at = "n/a"
labels = ["accel: WHPX"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/689"
host-os = "Microsoft Windows 11 Home Insider Preview Single Language"
host-arch = "x64"
qemu-version = "5.1.92"
guest-os = "Ubuntu"
guest-arch = "(GNU/Linux 5.4.0-89-generic x86_64)"
description = """Unable to forward UDP port"""
reproduce = """Used **..\\qemu-system-x86_64.exe" -smp 4 -accel whpx -hda ".\\ubuntu01.qcow2" -m 8G -vga std -net nic -net user,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443,hostfwd=tcp::10000-:10000,hostfwd=udp::10000-:10000**__ to run qemu."""
additional = """I want to use 10000(UDP) port at my server i used upper command to run my Qemu server as i was using it for TCP ports. Here are the logs:
**AT Guest(UBUNTU):**
10000/tcp ALLOW Anywhere
10000/udp ALLOW Anywhere
**AT Host(Windows):**
_**FOR TCP 10000 (IT'S WORKING)**_
Starting portqry.exe -n 127.0.0.1 -e 10000 -p TCP ...
Querying target system called:
127.0.0.1
Attempting to resolve IP address to a name...
IP address resolved to DESKTOP-Node001
querying...
TCP port 10000 (unknown service): LISTENING
portqry.exe -n 127.0.0.1 -e 10000 -p TCP exits with return code 0x00000000.
_**FOR UDP 10000 (IT'S NOT WORKING)**_
Starting portqry.exe -n 127.0.0.1 -e 10000 -p UDP ...
Querying target system called:
127.0.0.1
Attempting to resolve IP address to a name...
IP address resolved to DESKTOP-Node001
querying...
UDP port 10000 (unknown service): LISTENING or FILTERED
portqry.exe -n 127.0.0.1 -e 10000 -p UDP exits with return code 0x00000002.
"""