Article 5H8KG running server code on ubuntu on qemu

running server code on ubuntu on qemu

by
peterisaac
from LinuxQuestions.org on (#5H8KG)
i am very new to this so i am not sure exactly what to do, i am trying to run a simple socket program as server on linux kernel on qemu , using the following:

qemu-system-arm -M versatilepb -m 256 -kernel zImage -dtb versatile-pb.dtb -drive file=rootfs.ext2,if=scsi,format=raw -append "root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user -display none -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::5000-:5000

i am forwarding the host port 5000 to the guest 5000
and running the server code on qemu and running client code on the host
but with both using port number 5000.
and i am still unable to reach it.
i just want any way i could possibly run the server code on the guest and the client on the host
thank you in advance.latest?d=yIl2AUoC8zA latest?i=k5J_2PG6txs:31TyQJPwHAo:F7zBnMy latest?i=k5J_2PG6txs:31TyQJPwHAo:V_sGLiP latest?d=qj6IDK7rITs latest?i=k5J_2PG6txs:31TyQJPwHAo:gIN9vFwk5J_2PG6txs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments