curl issue with URL not connecting

Posted by bmucklow on Stack Overflow See other posts from Stack Overflow or by bmucklow
Published on 2010-04-21T17:01:04Z Indexed on 2010/04/21 17:03 UTC
Read the original article Hit count: 181

Filed under:
|
|

So I'm not a very good network person so I was hoping someone could point me in the right direction to figuring out what I am doing wrong.

I am trying to use curl to post a SOAP message. I am running the following:

curl -d "string of xml message" -H "Content-Type:text/xml; charset=utf-8" ":/"

This results in a 'Connection refused' message.

So I try pinging ip by itself...no problems. Then I think maybe I need http://:/ so I tried pinging http:// and I get: unknown host http:// yet if I ping the IP by itself I get no issues.

Any thoughts on where to start debugging this issue?

© Stack Overflow or respective owner

Related posts about curl

Related posts about soap