let conn = RMQConnection(uri: "amqp://test:test@ipaddress:15672",
delegate: RMQConnectionDelegateLogger())
conn.start()
2017-04-13 15:24:49.736095 DPI-CLIENT[5697:1740099] Will start recovery for connection: <RMQConnection: 0x1702e3680>
2017-04-13 15:24:49.737369 DPI-CLIENT[5697:1740099] Starting recovery for connection: <RMQConnection: 0x1702e3680>
2017-04-13 15:24:49.741809 DPI-CLIENT[5697:1740099] Received connection: <RMQConnection: 0x1702e3680> disconnectedWithError: Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={NSLocalizedDescription=Connection refused, NSLocalizedFailureReason=Error in connect() function}
2017-04-13 15:24:59.735936 DPI-CLIENT[5697:1739992] Received connection: <RMQConnection: 0x1702e3680> failedToConnectWithError: Error Domain=com.rabbitmq.rabbitmq-objc-client Code=1 "Handshake timed out." UserInfo={NSLocalizedDescription=Handshake timed out.}
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Karl NilssonStaff Software Engineer, Pivotal/RabbitMQ
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Attempting to connect to local RabbitMQ broker
Waiting for messages.
2017-04-18 19:36:41.355737 DPI-CLIENT[10248:3154745] Received connection: <RMQConnection: 0x1700e7b00> disconnectedWithError: Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={NSLocalizedDescription=Connection refused, NSLocalizedFailureReason=Error in connect() function}
let conn = RMQConnection(uri: "amqp://te...@test192.168.178.17:5672",
delegate: RMQConnectionDelegateLogger())
conn.start()
let conn = RMQConnection(uri: "amqp://192.168.178.17:5672",
delegate: RMQConnectionDelegateLogger())
conn.start()
You are using the wrong port, as Karl suggested.See http://www.rabbitmq.com/networking.html for the list of ports used by RabbitMQ.
On Thu, Apr 13, 2017 at 3:40 PM, Karl Nilsson <knil...@pivotal.io> wrote:
Hi,Is 15672 really the right port you are running amqp on? Normally it would be 5672. 15672 is normally used for the management UI/http api.CheersKarl
On 13 April 2017 at 14:29, Mark Meesters <mark.mee...@gmail.com> wrote:
Hello,I am trying to connect my iPhone to a local running rabbitmq.let conn = RMQConnection(uri: "amqp://test:test@ipaddress:15672",
delegate: RMQConnectionDelegateLogger())
conn.start()
When I do this I am not able to connect to the running RabbitMQ and receiving this errors:2017-04-13 15:24:49.736095 DPI-CLIENT[5697:1740099] Will start recovery for connection: <RMQConnection: 0x1702e3680>
2017-04-13 15:24:49.737369 DPI-CLIENT[5697:1740099] Starting recovery for connection: <RMQConnection: 0x1702e3680>
2017-04-13 15:24:49.741809 DPI-CLIENT[5697:1740099] Received connection: <RMQConnection: 0x1702e3680> disconnectedWithError: Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={NSLocalizedDescription=Connection refused, NSLocalizedFailureReason=Error in connect() function}
2017-04-13 15:24:59.735936 DPI-CLIENT[5697:1739992] Received connection: <RMQConnection: 0x1702e3680> failedToConnectWithError: Error Domain=com.rabbitmq.rabbitmq-objc-client Code=1 "Handshake timed out." UserInfo={NSLocalizedDescription=Handshake timed out.}
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Karl NilssonStaff Software Engineer, Pivotal/RabbitMQ
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Received connection: <RMQConnection: 0x1702e1580> disconnectedWithError: Error Domain=kCFStreamErrorDomainNetDB Code=8 "nodename nor servname provided, or not known" UserInfo={NSLocalizedDescription=nodename nor servname provided, or not known}
sudo open -a TextEdit /usr/local/etc/rabbitmq/rabbitmq-env.confNODE_IP_ADDRESS=127.0.0.1NODE_IP_ADDRESS=0.0.0.0