What happens if you change $url to 127.0.0.1 to connect to localhost, since it's all on the same machine?
Curl and PHp are installed and running, I can't point to my own IP because the PM is installed only in the server, not in my local machine, that is why I hit the dedicated server from my local environment.
kadas99 wrote:Curl and PHp are installed and running, I can't point to my own IP because the PM is installed only in the server, not in my local machine, that is why I hit the dedicated server from my local environment.
That doesn't matter. When PHP connects to 127.0.0.1, it connects to itself on the server, not back to you on your local PC.