- Open CMD and type:
netstat -a - Take a look in the Local Address column.
- Look at the port portion.
- If the port in your program is already active(in use) in another program, you should use another port or kill the active process to make the port free.
- I changed my port in my program to something else.
It Worked!
Big thanks to: @DavidSchwartz, @Gusman