Well... I change the php code and it worked in the LAN not in the internet. The same code but different url, it doesn't... Maybe the https? The DNS?
I force ip, gw and dns...
----
Just for the record the code change was using a redirect with the Header function - Not working
changed to curl - Worked
---