Binding external IP address to Rabbit MQ server

后端 未结 2 491
感情败类
感情败类 2021-02-08 18:27

I have box A and it has a consumer on it that listens on a Rabbit MQ server

I have box B that will publish a message to the listener

So as long as all of this in

2条回答
  •  深忆病人
    2021-02-08 18:58

    You need to open up the tcp port on your firewall

    Using Linux, Find the iptables config file:

    eric@dev ~$ find / -name "iptables" 2>/dev/null
    /etc/sysconfig/iptables
    

    Edit the file:

    sudo vi /etc/sysconfig/iptables
    

    Fix the file by adding a port:

    # Generated by iptables-save v1.4.7 on Thu Jan 16 16:43:13 2014
    *filter
    -A INPUT -p tcp -m tcp --dport 15672 -j ACCEPT
    COMMIT
    

提交回复
热议问题