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

EHOSTUNREACH #13224

Open
1 task done
ikrom92 opened this issue Oct 27, 2024 · 1 comment
Open
1 task done

EHOSTUNREACH #13224

ikrom92 opened this issue Oct 27, 2024 · 1 comment

Comments

@ikrom92
Copy link

ikrom92 commented Oct 27, 2024

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

Server:
I've set up a virtual machine using Virtual Box and gave IP 192.168.56.111 (hosted-only network).
The os installed on virtual machine is Debian.
The web-server is NGINX, listeningo n port 80.
The virtual machine is running on my MacBook Pro 16 (macOS Sequoia).

Client:
I've configured /etc/hosts file on Mac and set test.vm.local to 192.168.56.111.

The problem:
Trying to send request to http://test.vm.local.
Receiving an errorr: Error: connect EHOSTUNREACH 192.168.56.111:80.

  1. Tried on browser Sarari, it works.
  2. Copied postman request as cURL and pasted to terminal and run: it works.

Note: This issue began recently, so it worked without any problem so far.
Also, sometimes it starts working.

Steps To Reproduce

  1. Create virtual machine on Mac using VirtualBox and set Host-only Network.
  2. Deploy NGINX on your virtual machine on port 80.
  3. Edit /etc/hosts file on your Mac and set test.vm.local to your virtual machine ip address.
  4. Open Postman and send requests to test.vm.local.
  5. Try different conditions until you get Error: connect EHOSTUNREACH 192.168.56.111:80 error.

Screenshots or Videos

Screenshot 2024-10-28 at 00 43 38

Operating System

macOS

Postman Version

11.18.0

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

@ikrom92
Copy link
Author

ikrom92 commented Oct 27, 2024

It might seem as duplicate but it is not. The issue is not solved.

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

1 participant