After upgrading RabbitMQ Tile from v1.x to v2.x you could get a connection error while creating an on demand service instance. E.g.
$ cf create-service p.rabbitmq single-node temprabbitmq Creating service instance temprabbitmq in org myorg / space myspace as myuser Unexpected Response Response code: 500 CC code: 0 CC error code: Request ID: abcdefg-####-####-749d-9072542fe69f::3711c371-e300-463f-80d5-xyzabc Description: { "description": "Connection reset by peer", "error_code": "CF-HttpRequestError", "code": 10001, "http": { "uri": "http://10.##.##.##:8080/v2/service_instances/8c4aece2-####-####-8187-afe22f289d07?accepts_incomplete=true", "method": "PUT" } } FAILED
This can happen if you don't select the "Register On Demand Service Broker"