[rabbitmq-discuss] Identifying TCP Listeners.
Adam Tauno Williams
awilliam at whitemice.org
Tue Sep 25 13:54:55 BST 2012
On Wed, 2012-04-11 at 13:32 -0400, Adam Tauno Williams wrote:
> On Wed, 2012-04-11 at 13:15 -0400, Adam Tauno Williams wrote:
> > On Wed, 2012-04-11 at 11:59 +0100, Michael Bridgen wrote:
> > > On 04/11/2012 11:52 AM, Adam Tauno Williams wrote:
> > > > On Wed, 2012-04-11 at 06:49 -0400, Adam Tauno Williams wrote:
> > > >> How can I determine what 'service' is active on a port via RabbitMQ?
> > > >> I've figured out all but TCP/49974
> > > >> 0 0.0.0.0:4369 epmd [Erlang Port Mapper]
> > > >> 0.0.0.0:49974 beam.smp [????]
> > > >
> > > > Actually, this port seems to 'float', as it is different every time I
> > > > restart Rabbit.
> > > I expect it's Erlang distribution -- i.e., it's the port the node
> > > advertises in epmd so other nodes can communicate with it.
> >
> > Ah, that sound's reasonable.
> > From netstat:
> > tcp 0 0 0.0.0.0:50000 0.0.0.0:* LISTEN 1434/beam.smp
> > tcp 0 0 0.0.0.0:4369 0.0.0.0:* LISTEN 1296/epmd
> > tcp 0 0 0.0.0.0:55672 0.0.0.0:* LISTEN 1434/beam.smp
> > tcp 0 0 127.0.0.1:5672 0.0.0.0:* LISTEN 1434/beam.smp
> > Are there any configuration parameters to control how that port is
> > bound, selected, or published?
> With -
> rabbitmq-server-2.8.1-1.suse.noarch
> erlang-R15B-2.1.i586
> - I can specify -
> {
> kernel, [ {inet_dist_use_interface, [ {"127.0.0.1"} ] } ]
> }
> - /etc/rabbitmq/rabbitmq.config and the server still starts, but it
> has no effect on how the epmd or beam.smp bind.
I was finally able to achieve getting my test instance of RabbitMQ and
all its components to only listen on the localhost interface. It
requires are combination of both environment variables and configuration
file [ugh].
<http://www.whitemiceconsulting.com/2012/09/idjits-guide-to-installing-rabbitmq-on.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120925/d53925bf/attachment.pgp>
More information about the rabbitmq-discuss
mailing list