On Tue, 28 Feb 2017, at 14:38, norricorp wrote:
> many thanks to both of you for the replies.
> I tried both shell and command modules with the curl command and a 
>       curl: (7) Failed connect to centos7-ansible:8080; Connection
>       refused"

I would check to see if this is resolving to an IPv6 address at one end
and listening on IPv4 only at the other, or some variation on that.

Try doing that with `curl -v4sk ...` (force ipv4, verbose output, silent
response, ignore SSL certificate chain) and see whether that provides
more info. Sharing the output here may get you the info you need.

Either way, the next logical step here is to run a packet capture (ngrep
or tcpdump for example) which will probably make it very obvious what is
failing.

A+
Dave

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1488482556.160567.898472280.25DF7101%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to