Please launch Windows Resource Monitor.
Choose the section 'Listening Ports'.
Then order by the field port.
See what process or applications are accessing your port in question.
Example 1: on the mart server host machine, the mart server needs to access the ports 18170, 8005, and 8009. Are there competing processes or applications also listed for those same ports? Are there multiple tomcat.exe's accessing those same ports? (competing processes or applications).
Example 2: the erwin data modeler ODBC query tool needs port 19987 to be free in order to make a solid connection. Are there any other processes besides erwin.exe also listening on port 19987?
Figure 1. This example is shown for what is using port 18170, 8005, 8009.