title: SSH, RabbitMQ, Protocol 'inet_tcp': register/listen error: econnrefused
body: <p>When I try to run on my server machine command</p>
  
  <pre><code>./rabbitmq-server
  </code></pre>
  
  <p>I the get following:</p>
  
  <pre><code>WARNING: Removing trailing slash from RABBITMQ_LOG_BASE
           Removing trailing slash from RABBITMQ_MNESIA_BASE
  Protocol 'inet_tcp': register/listen error: econnrefused
  </code></pre>
  
  <p>Backstory:
  This is my first time I'm trying to install RabbitMQ-Server <strong>just using ssh</strong>.</p>
  
  <p>Step-by-step what I did so far would be:</p>
  
  <ol>
  <li>wget <a href="https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.0/rabbitmq-server-3.6.15.zip" rel="noreferrer">https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.0/rabbitmq-server-3.6.15.zip</a></li>
  <li>unzip rabbitmq-server-3.6.15.zip</li>
  <li>nano Makefile # change prefix to rabbitMQ in home directory PREFIX ?= /home/user/rabbitmq</li>
  <li>gmake</li>
  <li>gmake install</li>
  <li>cd ~/rabbitmq/lib/erlang/lib/rabbitmq_server-3.6.15/sbin/ </li>
  <li>export RABBITMQ_MNESIA_BASE=/home/user/rabbitmq/lib/erlang/lib/rabbitmq_server-3.6.15/sbin/ 
  export RABBITMQ_LOG_BASE=/home/user/rabbitmq/ </li>
  <li>./rabbitmq-server </li>
  </ol>
  
  <p>And here comes the error. I was told that maybe "unlocking" ports would do the trick, but</p>
  
  <ul>
  <li>I don't know how to do that</li>
  <li>I don't know if that's the case</li>
  </ul>