I want to run my own instance of LanguageTool on my server IP Address other than the Localhost:8081
But from some document, I have read that
-Server mode: by default, the server only binds to localhost now
I just want to ask that how to run LT Server on specific IP along Port from this command.
java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081
Or tell me how to add IP address on above command to start the server on specific IP Address & Port.
Well, I have got the solution.
just by adding the --public in the command allows LanguageTool server to access from the server Local IP Address than the Localhost:8081
Means if I run the command
java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --public
I can access the LT Server from the IP address that was only with localhost earlier.
http://xx.xx.xxx.xxx:8081/v2/check?language=en-US&text=my+text