i'm trying to run my node-media-server application within wsl2 (ubuntu), and my obs is running on windows.
when i try to connect i get a connection error, as if the publish url is not reachable. but i can access http://localhost:8000/admin/ in the browser without any issues.
18:05:51.416: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://localhost/live...
18:05:51.416: [rtmp stream: 'simple_stream'] Interface: Software Loopback Interface 1 (type 24, 1073 mbps)
18:05:53.422: localhost/live is offline. Try a different server (ECONNREFUSED).
18:05:53.422: [rtmp stream: 'simple_stream'] Connection to rtmp://localhost/live failed: -2
18:05:53.422: ==== Streaming Stop ================================================
if i run the same application in windows (via powershell), the connection works without any problems.
i have already tried disabling my firewall to see if my system is blocking traffic, but this didnt change anything.
this is most likely not an issue with the code itself, but i'd appreciate help regardless. i'm certainly not the only one running this on wsl2
i'm trying to run my node-media-server application within wsl2 (ubuntu), and my obs is running on windows. when i try to connect i get a connection error, as if the publish url is not reachable. but i can access
http://localhost:8000/admin/
in the browser without any issues.if i run the same application in windows (via powershell), the connection works without any problems.
i have already tried disabling my firewall to see if my system is blocking traffic, but this didnt change anything. this is most likely not an issue with the code itself, but i'd appreciate help regardless. i'm certainly not the only one running this on wsl2