Unable to make OpenOffice service listen on particular port

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
SumanthPrabhakar
Posts: 1
Joined: Mon Nov 16, 2020 2:22 pm

Unable to make OpenOffice service listen on particular port

Post by SumanthPrabhakar »

Hi, I am using OpenOffice 4.1.6 on a Windows 10 OS machine. I have installed the OpenOffice successfully and then tried to add the OpenOffice as a service with the help of nssm software using the below statement in the command line.

nssm install OpenOffice4.1.6 "C:\Program Files (x86)\OpenOffice 4\program\soffice.exe" -headless-accept=socket,host=localhost,port=8300;urp;

Now the service is running but not listening on port 8300. How to make the OpenOffice service listen on port 8300. Need help here. Your help is appreciated.
OpenOffice 4.1.7 and Windows 10
User avatar
Villeroy
Volunteer
Posts: 31363
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Unable to make OpenOffice service listen on particular p

Post by Villeroy »

On my Linux system:

Code: Select all

openoffice -headless -accept="socket,host=localhost,port=8300;urp"
Look up open port 8300:

Code: Select all

netstat -tulpen | grep :8300
tcp        0      0 127.0.0.1:8300          0.0.0.0:*               LISTEN      1000       149747     12268/soffice.bin 
WIndows 10 also has a netstat program.

For the records: LibreOffice uses long option names with 2 dashes:

Code: Select all

libreoffice --headless --accept="socket,host=localhost,port=8300;urp"
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply