Postman unable to talk to .local endpoint, IP is fine

Hello,

Using the Postman desktop app (latest version at time of writing this) on Windows and Mac I have started to see errors when trying to communicate with endpoints such as http://12345.local:8008

On Mac the error is: EHOSTUNREACH but on the windows PC the request just times out. I can confirm that when the PC times out, the API is not invoked.

I understand that generally this error suggests a networking issue or API server issue, however, when I use the code tool from postman to generate a cURL command for the request I am able to run the cURL command from my terminal without issue. I do this to rule out my computer/network/api being the root cause.

When I switch my request to use the IP address of the api rather than a .local endpoint, I am able to make the requests from postman.

If I remove .local from my hostname I have the same issues. From previous experience typically postman worked the same with or without the .local added onto the hostname.

Hi @chriseggs. Welcome to the Postman Community :postman_logo:!

Is http://12345.local:8008 a custom local domain? I am trying to understand your workflow for .local.

It is not a custom domain, I am just talking to devices via their hostname instead of there IP address because the IP addresses change frequently but the hostname is static.

Thanks for clarifying @chriseggs. I will recommend you create an issue here and will take this as an internal feedback.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.