There are many remote desktop applications available in the Internet. NoMachine is a great example of a remote desktop client which can be used to connect from a Windows, Mac, or Linux box to another Windows, Mac, or Linux machine which has NoMachine also installed. By default, the NX Agent will use port 7001 (the value of the DisplayBase set for NoMachine + 6000) running on localhost. As the agent is using port 7001, it can potentially cause a conflict with the AdminServer for any WebLogic environments using port 7001 primarily if using localhost to access the WebLogic Admin Console or anything WebLogic-related running on port 7001.
Error in starting the AdminServer using port 7001:
Port conflict exists due to NoMachine agent using port 7001 on localhost:
NOTE: Although the AdminServer starts up successfully, it is not possible to run anything with port 7001 for anything WebLogic-related using the localhost address (using your actual hostname instead of localhost works fine however):
To fix this problem, you can change the port which NoMachine uses for the NX Agent using these steps below:
NOTE: Admin privileges are required.
1. Go to the file directory where NoMachine is installed (in Windows, it should be C:\Program Files (x86)\NoMachine by default) and go into the etc folder.
2. Open the file server.cfg using a text editor (NOTE: Make a backup first!).
3. Locate the parameter DisplayBase (may be commented out initially). Set the number to a value which does not conflict with other running ports. In this example, I changed the DisplayBase to 2001 (DisplayBase + 6000 = the port number used for the NX Agent) so that the NX Agent uses port 8001, a port which nothing with WebLogic will use. NOTE: Make sure the value is NOT commented!
4. Save and close the file.
5. Open up the Windows Services and locate the service “NoMachine Display Monitor”. Restart the service so the port number changes from 7001 to the port number you set.
6. Now that the service has been restarted, the agent will no longer be using port 7001. In order to associate localhost with your WebLogic AdminServer using port 7001 again, you will need to restart the AdminServer.
After applying the steps above, you should be able to use the localhost address with your WebLogic server environment running port 7001.
Source: https://www.nomachine.com/forums/topic/nxagent-is-listening-on-port-70017002