Understand the default configuration
Port 15672 is for the management panel and is open for connections from a different machine.
Port 5672 is for applications and can only be accessed from the internal network.
Default hostname and home
The default hostname of RabbitMQ is set to rabbitmq@localhost and the default home is installdir/rabbitmq/rabbitmq_home. Change this in the installdir/rabbitmq/etc/rabbitmq/rabbitmq-env.conf file.
The log files are stored at installdir/rabbitmq/var.