VM to host, ping works but telnet timeout

Discussions related to using VirtualBox on Windows hosts.
Post Reply
hw_user
Posts: 1
Joined: 28. Apr 2022, 00:05

VM to host, ping works but telnet timeout

Post by hw_user »

My host is Windows 11 running Virtualbox 6.1.26. The VM guest is Ubuntu. The network setting is bridge adapter. Both Windows host and Ubuntu VM has no problem accessing Internet. They can ping each other. I can do telnet (telnet VMipaddress port#) from window host to VM. But it time out if I do "telnet VMHostIPaddress port#) it timeout. I have a listener listening on the port number on both the Windows host and VM guest.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: VM to host, ping works but telnet timeout

Post by scottgus1 »

If I understand, you have full network and internet in the VM and host, and you can telnet into the VM from the host. But you cannot telnet into the host from the VM. Both host and VM have telnet listeners ready.

Have you opened the host's firewall for telnet? I'd wager that Windows Firewall blocks telnet by default.
Post Reply