java - How to fix Tomcat has failed to start: the port X is already in used? -


i'm trying use new installation of tomee local server in netbeans i'm facing weird issue. everytime try port, in used. tried many many ports in used. ran command in command prompt:

netstat -aon

it listed listening ports pid. opened task manager , found out java (tm) platform se binary. ended process. restarted netbeans , everytime end java process, seems creates new 1 not allowing me use port... change port, java (tm) creates new instance , uses port want use throwing me used port error in ide.

how supposed fix if each single time change port, java creates process , use exact same port?

change port number editing server.xml file in tomee installation directory.

example:

<connector port="18080" protocol="http/1.1"            connectiontimeout="20000"            redirectport="8443" /> 

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -