HTTP-Server Installation problem

Hi, I’m trying to install LT in server mode following the instructions at HTTP Server - LanguageTool Wiki

I’ve installed JAVA 8 JRE and JDK
I’ve uploaded the standalone version to my Centos VPS
And I’ve started LanguageTool on the command line
But when I test the server via my browser I get a “cannot connect” response; both with my domain name and my website’s IP address… http://eslnow.org:8081/?language=en&text=my+text
Do I need to open port 8081? Configure the iptables? Do I have a firewall problem?

Thanks

You’ll need to use the --public option to access LT from remote, as documented at HTTP Server - LanguageTool Wiki.

Fixed!!! Thank you

Just out of curiosity, do I have to take any measures to ensure security?

java -cp languagetool-server.jar org.languagetool.server.HTTPServer --public --port 8081

No, unless you don’t want your LT server accessible to the world, e.g. because this may cause some load. You can use the config file to set some limits, e.g. maximum text length. java -jar languagetool-server.jar will print the available options.