1

LanguageToolを使用しようとしています。これは使用情報にあります:

> Using LanguageTool from other
> applications:    Start the stand-alone
> application and configure it to listen
> on a port that is not used yet (the
> default port, 8081, should often be
> okay). This way LanguageTool will run
> in server mode until you stop it. The
> client that wants to use LanguageTool
> can now just send its text to this
> URL:
> http://localhost:8081/?language=xx&text=my+text

自分の IP を使用しようとしていますhttp://<IP HERE>:8081/?language=xx&text=my+textが、取得し続けます

エラー: java.lang.RuntimeException: エラー: (IP アドレス) からのアクセスが拒否されました

私は何を間違っていますか?どうすればこれを解決できますか?

4

1 に答える 1

1

ローカル ネットワーク アドレス (つまり、ループバック デバイス) からの接続のみを受け入れるという制限は、次のようにハードコードされていますLanguageToolHttpHandler

変更する場合は、ソースを変更する必要があります。

于 2011-04-25T11:39:09.070 に答える