-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: how to open port #4025
Comments
Try explicitly set port range for nmap scanning.
By default nmap scans only common ports (https://nmap.org/book/man-port-specification.html). There's nothing wrong in your qemu command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem description
I run
qemu-system-x86_64 -hda alpine.img -boot c -m 6144 -smp 3 -netdev user,id=nde1,hostfwd=tcp::2222-:22,hostfwd=tcp::8848-:8848,hostfwd=tcp::3306-:3306 -device e1000,netdev=nde1,id=d-net1 --vnc :1
, namp only scan 80,2222,3306,5901,8022, the 8848 port is missing.Steps to reproduce the behavior.
alpine.img set 50G
running qemu-system-x86_64 -hda alpine.img -boot c -m 6144 -smp 3 -netdev user,id=nde1,hostfwd=tcp::2222-:22,hostfwd=tcp::8848-:8848,hostfwd=tcp::3306-:3306 -device e1000,netdev=nde1,id=d-net1 --vnc :1
run nmap 127.0.0.1
What is the expected behavior?
how to make 8848 port, can be scan out
System information
The text was updated successfully, but these errors were encountered: