PHP curl server running on same machine

I am trying to connect to another app on the users local machine. For testing if I install xampp and try to access 127.0.0.1:8332 it works fine.

Compiled with curl enabled and included in exe though it can’t connect.

Any way to make this work?

Did you verify that you activate well php curl extension in your compiled app ?

If it doesn’t work when well compiled with curl extension try to recompile it but with extension outside of exe.