doushishi2415 2014-04-23 06:38 采纳率: 0%
浏览 146

WHMCS:订单接受遇到的问题 - 卷曲错误:无法连接到主机Url

For the past four hours I have been trying to configure TCAdmin to work with whmcs. I set up the server in the server setting of WHMCS and added all the configurable options. I got my first demo order and when I select "Accept Order" I get this error:

Order Accept Encountered Problems Curl error: couldn't connect to host Url: http://xx.xx.xxx.xxx:8880/billingapi.aspx

For some reason WHMCS can't connect, but when I connect I get this: "Visit http://help.tcadmin.com for help". I tried that. Still no luck.

So I went into my server, found the billingapi.aspx file and it said this: This is a marker file generated by the precompilation tool, and should not be deleted!"

Does anyone have any suggestions or solutions? All help is appreciated :)

-Max

  • 写回答

1条回答 默认 最新

  • dsour68888 2014-06-09 08:47
    关注

    Curl is failing to connect but you think it should be able to? There are a few things to check:

    • Is the address being passed to Curl really right? (It's so easy to get this wrong!)
    • Is the target host reachable from the host making the request (the origin)? Firewall rules can cause all sorts of strange problems here. Check if you can do a read-only request from the origin and get through that way.
    • Is the target port on the target host accessible from the origin? Again, it's the firewall, and port 8880 is not one that I'd expect to normally be a permitted outgoing target in an aggressive firewall regime; a specific rule may well be needed.
    • Is there a problem with DNS? Hopefully not, but if name resolution itself keeps failing then that might be a significant issue. (This won't be the case if you use an IP address instead of a DNS host name, but that can cause the request to fail in other ways — such as if the target hosts many sites — so don't jump to conclusions here.)

    Other problems that are theoretically possible (e.g., bad request contents, wrong path in the URL) would give different error messages.

    评论

报告相同问题?

悬赏问题

  • ¥15 远程桌面文档内容复制粘贴,格式会变化
  • ¥15 关于#java#的问题:找一份能快速看完mooc视频的代码
  • ¥15 这种微信登录授权 谁可以做啊
  • ¥15 请问我该如何添加自己的数据去运行蚁群算法代码
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题