Appboard/old/port conflict: Difference between revisions
imported>Cmace (copied from internalwiki) |
imported>Cmace (copied from internalwiki) |
||
Line 15: | Line 15: | ||
<center>[[File:endprocess.png]]</center><br><br> | <center>[[File:endprocess.png]]</center><br><br> | ||
It is also possible to change the port that AppBoard’s startup.exe runs on. If you go to the | It is also possible to change the port that AppBoard’s startup.exe runs on. If you go to the setenv.bat (Windows) or setenv.sh (Unix) file in <tt>[AppBoard_HOME]/server/bin</tt>, you can edit the port number and then keep the other process running on the conflicting port while AppBoard runs on the new port.<br><br> | ||
</ | In the setenv file, look for the line at the top which says <tt>set HTTP_PORT=<<i>port number</i>></tt>.<br><br> |
Revision as of 20:18, 13 March 2012
When attempting to run AppBoard, an error may arise because of other processes you have running. Every process being used on a computer runs on a port. For instance, AppBoard's startup.exe file is set to run on port 8080. Other processes, including the httpd.exe file seen in Apache and svchost.exe with TermService, are set to run on the same port. For certain conflicts, you will get a clear cut error message. For others, you will see in the command line of the start up file that the port is already in use with a JVM Bind error.
In any case, if you have trouble running AppBoard, you can run your command line and enter "netstat -a -o -n" to see if another process is occupying that port.
If another process is on port 8080, the easiest solution would be ending that process. It would also be helpful to run "tasklist /svc" to help you match a process name to the complimentary PID number, so you know the actual name of the process you are trying to end or modify.
You can end the process that is blocking the port using the PID and name from the previous reports. First you would start your Task Manager and click on the Processes tab. If the PID number is not a displayed column, go to View > Select Columns at the top of the window. That brings you to a screen where you would check the PID box and click OK to give you the new column.
Now from the Processes tab, you can see the PID numbers next to the names. So now you just need to find the corresponding name and number and end the process
It is also possible to change the port that AppBoard’s startup.exe runs on. If you go to the setenv.bat (Windows) or setenv.sh (Unix) file in [AppBoard_HOME]/server/bin, you can edit the port number and then keep the other process running on the conflicting port while AppBoard runs on the new port.
In the setenv file, look for the line at the top which says set HTTP_PORT=<port number>.