[
https://issues.apache.org/jira/browse/TIKA-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443354#comment-13443354
]
Clemens Fuchslocher commented on TIKA-964:
------------------------------------------
This would be really useful!
But removing the server parameter may break a lot of setups out there.
Why not just adding a new parameter like bind-address and b:
{noformat}
$ java -jar tika-app-1.2.jar --bind-address=127.0.0.1 --server 65535
...
$ java -jar tika-app-1.2.jar -b127.0.0.1 -s 65535
{noformat}
The p parameter is now also used for a document password:
{noformat}
$ java -jar tika-app-1.2.jar --help
...
-pX or --password=X Use document password X
...
{noformat}
> Ability to specify bind address
> -------------------------------
>
> Key: TIKA-964
> URL: https://issues.apache.org/jira/browse/TIKA-964
> Project: Tika
> Issue Type: Improvement
> Components: cli
> Affects Versions: 1.2
> Reporter: Vitaliy Filippov
> Attachments: tika-964.diff
>
>
> Now tika-app listens on all network interfaces, which isn't much secure.
> It would be good to be able to specify the bind address, like:
> java -jar tika-app.jar -p 127.0.0.1:9998
> I'll attach a patch with next comment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira