title: How to disable RabbitMQ default tcp listening port - 5672
body: <p>I have configured the RabbitMQ <code>rabbitmq.config</code> file with new port number i.e. 5671 with SSL.</p>
  
  <p>Now I want to disable the default port i.e. 5672.</p>
  
  <p><strong>Config file as below :-</strong></p>
  
  <pre><code>[
    {rabbit, [
       {ssl_listeners, [5671]},
       {ssl_options, [{cacertfile,"/ay/app/xxx/softwares/rabbitmq_server-3.1.1/etc/ssl/cacert.pem"},
                      {certfile,"/ay/app/xxx/softwares/rabbitmq_server-3.1.1/etc/ssl/cert.pem"},
                      {keyfile,"/ay/app/xxx/softwares/rabbitmq_server-3.1.1/etc/ssl/key.pem"},
                      {verify,verify_peer},
                      {fail_if_no_peer_cert,false},
  
                     {ciphers,[{dhe_rsa,aes_256_cbc,sha},
   {dhe_dss,aes_256_cbc,sha},
   {rsa,aes_256_cbc,sha}]}
  
                      ]
  
      }
     ]}
  ].
  </code></pre>
  
  <p>Now its working on both port 5671 and 5672.But I need to disable the port 5672.
  Give some comments or suggestion.</p>
  
  <p>Thanks in advance.</p>