Hyoung Soo Kim

When RabbitMQ SDK show you a connection refuse error.

When you use RabbitMQ SDK like pika and you see an error of connection refuse with below string value in the error message, you should check your host value in connection parameter.

::1:5672

As you can see, above value looks like a kind of IPV6 address. RabbitMQ SDK seems to try connecting server with IPV6 first(not sure yet). So if you put ‘localhost’ as a host value in the connection parameter, change the value to ‘127.0.0.1’

--

--

Hyoung Soo Kim

Hyoung Soo Kim

Experienced cloud engineer with 19 years of extensive online membership, billing, micro-transaction and payment on cloud.