Golang REST API Error

I’m getting the socket hang up error when I tried to call the API from POSTMAN.
I’m trying to call the localhost Go API.
What will be the reason for socket hang error?

Can you show the code or provide a link to the code so we can take a look? Othwrwise, my best guess with just this screenshot is that perhaps there’s a timeout in PostMan waiting for the Go API to respond.

Are you trying to call localhost from online Postman? I think this will be impossible. The API server must be reachable from internet. Like

Example: https://api3.go4webdev.org/tsk/all

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