I am trying to contact a remote API on my local machine. I am unable to determine the correct IP address to the host machine. I am on a Windows machine.
That is the url I use locally, but I am unable to access from wordpress using wp_remote_post .
How can I get the IP to the host machine so that I can test API calls.
I was finally able to track down my issue. I was able to use the IP of my local machine, but since I was connecting to IIS express I needed to by pass a bad hostname issue.
This solved my issue.
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.