cURL 端口未开放 - 有可行的替代方案吗?
我有一个由 GoDaddy 托管的客户 - 但他们的服务非常严格,不允许开放很多端口。
我有一个脚本需要通过 cURL 在任意端口 (1129) 上进行通信,但当然 GoDaddy 不会有任何这些。我是否可以实施任何替代方案,以便仍然在端口 1129 上与目标源协商,但绕过使用端口 1129 的需要(至少在服务器端)?
I have a client hosted with GoDaddy - but they're quite restrictive with their service and don't allow very many ports to be open.
I have a script that needs to communicate on an arbitrary port (1129) via cURL but of course GoDaddy won't have any of it. Is there any alternative that I can implement to still confer with the target source on port 1129 but bypass the need (at least on the server's end) to use port 1129?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 SSH 隧道。
You could use an SSH tunnel.
我想您可以使用套接字,但另一方面 GoDaddy 可能也不允许这样做。更换托管公司可能是唯一的解决方案。
I guess you could use sockets but on the other hand GoDaddy may not allow that also. Changing the hosting company might be the only solution.