I have two machines connected via Tailscale: a macbook and an AWS NixOS machine called doodoo
. I can ping doodoo, no problem:
bash-3.2$ ping doodoo
PING doodoo.skainsworth.gmail.com.beta.tailscale.net (100.118.228.49): 56 data bytes
64 bytes from 100.118.228.49: icmp_seq=0 ttl=64 time=22.497 ms
64 bytes from 100.118.228.49: icmp_seq=1 ttl=64 time=20.566 ms
But I can’t get HTTP requests to go through:
bash-3.2$ curl --max-time 5 doodoo:3001/asdf
curl: (28) Connection timed out after 5002 milliseconds
Following the Tailscale with MagicDNS works with certain ports but times out on others, I double-checked netstat, and indeed traffic should be going through AFAIU:
❯ netstat -nap --inet | grep LISTEN
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:3001 0.0.0.0:* LISTEN 1546/target/debug/a
...
I’ve had something like this happen one time in the past. It was a similar issue where I just could not get through at all to a server on my remote machine. I disconnected/connected out of tailscale on my macbook (and possibly also quitting/restarting), and that seemed to fix the issue. I dismissed it then, but I figure I might as well report now that it has reoccurred.
Update: just tried disconnecting/connecting, restarting tailscale on the macbook, and rebooting doodoo with no luck Oddly enough though SSH still works.