Trying to get selfhosted LT working over tailscale

Really enjoying this service! Shoutout to proxmox helper scripts for an easy install.

my server works well on lan:

http://192.168.abc.abc:8081/v2

but it is unreachable over tailscale:
curl http://100.abc.abc.abc:8081/v2/languages

ExecStart=java -cp languagetool-server.jar org.languagetool.server.HTTPServer --config server.properties --public --allow-origin “*”

has anyone gotten this working over tailscale? maybe I need a firewall rule created in tailscale…

Seems I was able to get this working! I think was a connectivity bug with TS networking along with accidentally setting the wrong lan subnet. restarted the service and seems to be fixed for now

1 Like

You might be interested in this Java library that lets you embed Tailnets directly into your Java program without any dependence on anything at the OS level and the library is written in pure java with no dependencies on anything outside of Java.