title: RabbitMQ on Windows 10 - unable to connect to epmd: adress (cannot connect to host/port)
body: <p>I've been unsuccessfully struggling to get RabbitMQ working again on my machine for some time. It was installed and working then something went wrong. I've uninstalled and then installed v3.8.0 (with Erlang version 22).</p>
  
  <p>I've run <code>rabbitmq-service.bat start</code> and the service starts successfully, but when I run <code>rabbitmqctl.bat list_users</code> I get the following error:</p>
  
  <pre><code>Error: unable to perform an operation on node 'rabbit@&lt;my hostname&gt;'. Please see diagnostics information and suggestions below.
  
  Most common reasons for this are:
  
   * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
   * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
   * Target node is not running
  
  In addition to the diagnostics info below:
  
   * See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
   * Consult server logs on node rabbit@&lt;my hostname&gt;
   * If target node is configured to use long node names, don't forget to use --longnames with CLI tools
  
  DIAGNOSTICS
  ===========
  
  attempted to contact: [rabbit@&lt;my hostname&gt;]
  
  rabbit@&lt;my hostname&gt;:
    * unable to connect to epmd (port 4369) on [My host name here]: address (cannot connect to host/port)
  
  
  Current node details:
   * node name: 'rabbitmqcli-7856-rabbit@&lt;my hostname&gt;'
   * effective user's home directory: C:\Users\&lt;myusername&gt;
   * Erlang cookie hash: hXRZg8Foj+FXs7DwcLF6cg==
  </code></pre>
  
  <p>I'm running it locally and it has been working before.</p>
  
  <p>I've checked the <code>.erlang.cookie</code> and they're correct.</p>
  
  <p>I've run the <code>rabbitmq-plugins enable rabbitmq_management</code> command to enable the management plugin but cannot connect to the management UI.</p>