Back to LanguageTool Homepage - Privacy - Imprint

HTTP-Server Installation problem


(Alan) #1

Hi, I'm trying to install LT in server mode following the instructions at http://wiki.languagetool.org/http-server

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


(Daniel Naber) #2

You'll need to use the --public option to access LT from remote, as documented at http://wiki.languagetool.org/http-server#toc2.


(Alan) #3

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


(Daniel Naber) #4

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.