You need the Windows command line for this. To open a command line, press the Windows key, type cmd, and press Enter. If you need to stop a process, run the command line as an administrator: After you type cmd, wait till the Command Prompt program appears on the list. Right-click the Command Prompt icon, and choose Run as administrator.
When the memoQ server cannot be started, the memoQ server log file or Event Viewer may report that a certain port is being used by another process (this is most likely port 8080). You may need to stop this process. To find out about the process identifier of the process using the port, use the netstat command. Open the Windows command prompt, and enter the following:
netstat -aon | find ":[port number]"
For example:
netstat -aon | find ":8080"
The process ID of the process will be at the end of the line. For example, netstat -aon | find ":8080” may return this:
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 5210
To find out which program is associated with this process ID, use the tasklist command. Example:
tasklist | findstr "5210"
To terminate the process, use the taskkill command, or open the Windows Task Manager:
taskkill /F /PID 5210
Caution: Always check if the process can be terminated (port 8080 may belong to Apache Tomcat - which is used by Plunet, one of the project management tools that work together with memoQ server). If it turns out that you cannot get rid of the process that uses the port, you may need to move the memoQ server APIs to different ports. To learn how, read the Configure server topic.