R
R
Roman Mirilaczvili2020-09-13 18:49:02
Windows
Roman Mirilaczvili, 2020-09-13 18:49:02

Why is there no WSL access to the RabbitMQ service on Windows?

RabbitMQ service is running in WIndows and its admin panel is also available

> netstat -an|findstr "0.0.0.0:5672"
  TCP    0.0.0.0:5672           0.0.0.0:0              LISTENING


At the same time, from WSL2 (bash) it is not possible to connect to this port.
lsof -i :5672does not output anything

Tried:
telnet localhost 5672
telnet 127.0.0.1 5672
telnet 127.0.1.1 5672
telnet 0.0.0.0 5672


shows
telnet: Unable to connect to remote host: Connection refused


What is missing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2020-09-13
@2ord

there is not enough understanding that Windows has its own network stack, and WSL2 has its own. use ipconfig /allwindows and ip awsl2 to determine which subnet is common to both systems and what is the IP address of the windows machine on that subnet, and access that address, remembering that it can be blocked by a firewall.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question