I created a small web application.if i deployed its work but if try to run application it show the port 8888 appears to be in use(perhaps by another lanch),do you still to contine with this lanch? i clicked yes but show the error Could not open the requested socket: Address already in use: bind Try overriding --address and/or --port.
The problem is what it is stating.
You are facing this issue because of the following:
There are some instances where the solution suggested by Romin will not work because the option to stop the process does not present itself in the console.
In these cases, you can probably find out which process ID is using the port and then kill that process.
For example, on a mac, this worked for me:
😈 >lsof -i tcp:8888
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 25866 alexryan 60u IPv6 0x96e9c26778f105e1 0t0 TCP localhost:ddi-tcp-1 (LISTEN)
😈 >kill 25866
😈 >lsof -i tcp:8888
😈 >
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With