I'm trying to post to a server written in Hapijs from wordpress using wp_remote_post.
I'm getting connection refused and I can't figure out what is wrong.
The server is on port 8080.
Nb:wp_remote_get doesn't work either.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI'm trying to post to a server written in Hapijs from wordpress using wp_remote_post.
I'm getting connection refused and I can't figure out what is wrong.
The server is on port 8080.
Nb:wp_remote_get doesn't work either.
After further look into the problem I found out that for a weird reason wordpress only allows posting to port 80. Otherwise the post is denied.
In other words, the server you are posting to must be listening on port 80.