Can't connect from other devices via local network address (i.e. 192.168.1.xxx:9999)

Issue: I can’t connect to Stash server from other local devices via host computer’s ip address and 9999 port. I can, however, connect to Stash from other devices using Tailscale. But, some local devices don’t/can’t have Tailscale installed.

Notes: 1) stash-win.exe was added as an exception to BitDefender. 2) I also run a Jellyfin server, and that server is accessible from other devices via the host’s ip address (192.168…). Jellyfin uses port 8096. I can connect to that server just fine from my macbook or TV, but then I just edit the port to 9999 and then my device won’t connect to stash server.

I’m not a software dev, or an IT expert, just a savvy Millennial.

Can you connect to stash from the machine running it using localhost:9999 and <ip address>:9999?

Yes, both of those methods (localhost, and ip address) work on the desktop that hosts the server. But my laptop, 10 feet away, won’t connect using the same ip address, even though they are on the same network. Nor will other devices, e.g. iphone.

Windows firewall is the most likely culprit to me. I found that even though I was connected to a Private Network according to Windows, and I had allowed stash-win to allow communication on Private networks, I had to also enable it for Public networks. If I didn’t, I’d just get a timeout when accessing it from another machine on my LAN.

Instructions are as follows:

  1. In Windows, go to Control Panel -> System and Security -> Windows Defender Firewall
  2. On the left side of the window, click Allow an app or feature through Windows Defender Firewall
  3. Search for stash-win or stash-win.exe in the list of allowed apps. I had a heap of them due to running debug versions and such. I had to click on the details for each one to find the one that matched the Path: value.
  4. Click on Network types...
  5. Click on Private and Public checkboxes and click OK
  6. Click OK to get out of the dialog.

This should hopefully resolve the issue for you. I have no idea why I need to enable it for Public network when the current mode is private.

1 Like

Thank you, that resolved the problem. :slightly_smiling_face:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.