Skip to content
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

Unable to ping the Linux machine from Host Windows Cmd #494

Open
satyaoradba opened this issue Oct 4, 2023 · 1 comment
Open

Unable to ping the Linux machine from Host Windows Cmd #494

satyaoradba opened this issue Oct 4, 2023 · 1 comment

Comments

@satyaoradba
Copy link

Linux machine provisioned successfully but I am unable to ping it from Windows(host)
and unable to connect to it from putty

From Host Machine we see

C:\Users\nvsn>ping 192.168.225.102

Pinging 192.168.225.102 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.

From Putty we see

Putty Fatal error
Network error: Connection Timed Out.

  • Host OS: [Windows 10]

  • Vagrant version: [2.3.4]

  • Vagrant provider:

    • For VirtualBox:
      • VirtualBox version: [7.0.4r154605]
  • Vagrant project: [https://github.com/oracle/vagrant-projects/tree/main/OracleDatabase/19.3.0]

I disabled Firewall yet I see the error
I am able to connect to it via vagrant ssh

Putty-network error

@PaulNeumann
Copy link
Contributor

@satyaoradba It looks like you've added a public network with the IP address 192.168.225.102 to the Vagrantfile. This isn't needed for connecting to the VM with either database tools or PuTTY.

PuTTY can use the localhost IP address 127.0.0.1 to connect to the VM. However, the Vagrant SSH private key file needs to be converted to a PuTTY-compatible ppk file first. There's a YouTube tutorial that shows all the steps here. (One update to the video: For the most recent versions of PuTTY, the path to the private key file is entered on the Connections -> SSH -> Auth -> Credentials screen, rather than the Connections -> SSH -> Auth screen.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants