I'm trying to use a new installation of TomEE as a local server in Netbeans but i'm facing a weird issue. Everytime I try a port, it is in used. I tried many many ports but it is always in used. So I ran this command in command prompt:
netstat -aon
It listed all the listening ports with the PID. So I opened task manager and I found out that Java (TM) Platform SE Binary. I ended the process. Restarted Netbeans and everytime I end the java process, it seems it creates a new one not allowing me to use any port... Say I change it for another port, Java (TM) creates a new instance and uses the port I want to use throwing me a used port
error in the IDE.
How am I supposed to fix this if each single time I change port, Java creates a process and use the exact same port?