Helpful commands When port is already in use you could use: fuser -k port/tcp And then this port is killed. fuser according man(fuser) is: fuser - identify processes using files or sockets