I was trying to get my Linux machine talking to MQWeb browser on z/OS, but I was getting
curl .. Failed to connect to 10.1.1.2 port 9443: Connection refused.
For this to work you have to edit the mqwebuser.xml file and uncomment
<variable name="httpHost" value="*"/> <!-- -->
It then worked a treat. Like most things it is easy when you know how to fix it.
Using firefox browser then gave me
Web sites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for 10.1.1.2:9443.
Error code: MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT
Which proves I was accessing the site. That is a certificate set up issue, and a whole different ball game.