- Liferay Beginner’s Guide
- Robert Chen Sandeep Nair Samir Bhatt
- 109字
- 2025-02-25 05:56:04
Time for action – starting OpenOffice service
To start the OpenOffice service, do the following:
- Enter DOS mode.
- Go to the C:\Program Files\OpenOffice.org 3\program directory; this is where OpenOffice is installed by default.
- Run the following command:
soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard
A screenshot of the DOS window is as follows:

What just happened?
The previous command means that OpenOffice has started a service with the headless option. Now, this service will accept a request at port 8100. It is waiting for the request from a server, whose Internet Protocol (IP) address is 127.0.0.1, which means the local host.
We can check to see how the OpenOffice service is running.