joe@server:~$ sudo lsof -i :36168
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 23059 activemq 15u IPv6 109382 0t0 TCP *:36168 (LISTEN)
From the output above I want to disable port 36168, but don't know where. How can I exactly find the configuration file of this port to modify it?
grep ing for this doesn't give a result. And I don't want to use a firewall instead.