I have been connecting to rabbitmq in localhost and works fine, but while connecting to a remote server it is giving a Connection closed exception
File "/Users/mayankt/Documents/work/temporary/courier.py", line 82, in connect_to_mq
host=exchange_host, port=exchange_port, credentials=credentials))
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pika/adapters/blocking_connection.py", line 339, in __init__
self._process_io_for_connection_setup()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pika/adapters/blocking_connection.py", line 374, in _process_io_for_connection_setup
self._open_error_result.is_ready)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pika/adapters/blocking_connection.py", line 395, in _flush_output
raise exceptions.ConnectionClosed()
pika.exceptions.ConnectionClosed
The value of _open_error_result object in the method _process_io_for_connection_setup is showing connection timeout
'Connection to 10.0.1.47:5672 failed: timeout'
The server's web managerment tool is working, and i am trying a non guest user account with admin privileges.
Need help urgently, thanks for support ..