Troubleshooting: "Address Already In Use"¶
If the default Port 8080
is already in use by another service, the error java.net.BindException: Address already in use
will occur.
The intaQt log file provides a more detailed error message:
Error message
1 2 3 4 5 | java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_45] at sun.nio.ch.Net.bind(Net.java:437) ~[na:1.8.0_45] at sun.nio.ch.Net.bind(Net.java:429) ~[na:1.8.0_45] ... |
Using another port, for example port 8081
, in the HTTP Server configuration will solve this issue:
1 2 3 | HttpServer = { port : 8081 } |
Restart the intaQt for the changes to take effect.¶
Important! Reinstalling the license or rebooting will not have an effect on the port being hogged by another application, aside from the application being terminated on reboot, thus freeing the port. However, if a service is running that starts listening on the port in question on startup, rebooting will not solve the problem.
If the error message persist, the following procedure is recommended.
Extended Solution¶
If the port is used by another application, for example, a local webserver, either close the application and/or configure the port accordingly.