如何修复“http_client.c(227) 创建套接字时出错” 错误,这可能是由操作系统引起的
我正在我的 ubuntu 8.04 开发服务器上设置 wso2 php Web 服务框架。
但是我的网络服务失败了。 查看 wsf_client.log (框架的自定义日志)文件给了我问题中的错误。
我相信错误是从轴返回的,但我不知道如何修复它,并且将不胜感激任何正确方向的指针。
I am in the process of setting up the wso2 php web services framework on my ubuntu 8.04 development server.
However my webservice is failing. Looking into the wsf_client.log (custom log for the framework) file gives me the error in the question.
I belive the error is returned from axis, but I have no idea how to fix it and would be grateful for any pointers in the right direction.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我只是在这里转发原始提问者发布在不同论坛上的信息:
I'm only relaying information from the original questioner here, posted in a different forum:
你检查过/var/log/messages吗? 如果错误发生在操作系统级别,您可能会在那里找到更多线索。
Did you check /var/log/messages? If the error is at the OS level, you might have more clues in there.
在 Linux 上,您可以使用 strace 运行客户端:
strace myprogram 2>&1 > myprogram.log
并检查系统调用(如 socket())的日志。
On Linux, you can run your client with strace:
strace myprogram 2>&1 > myprogram.log
and examine log for system calls like socket().
也许您没有以 root 身份启动应用程序,但它设置为侦听低于 1024 的端口号?
Maybe you do not start the application as root but it is set to listen to a port number lower than 1024?