开发者

How could I read from PHP in another host

I have a proxy in our office which close all the trafic from certain ports. It's a big office so the Security manager won't open any ports. We need some data through the port 9001 which isn't opened.

To bypass this, I put a php script in my server which outputs an XML which needs to be read in my office network. So, I tested at home with a cU开发者_开发知识库rl and worked flawlessly but it seems that now it's grabing nothing.

Tested with var_dump it shows: boolean false with the curl exec

What other methods could I use?


You could set up a VPN on an allowed port and connect through that. That would probably simplify a lot of other stuff as well. OpenVPN is pretty light and straight-forward to set up.


install a proxy on an external host which is listening on port 80 but fetches from port 9001

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜