If you want to use a certain port to run some application on your Unix/Linux based system but you get "Address/Port already in use" error and you don't have access to stop the service then you can kill this process as follows,
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 4133 code2care 13u IPv6 0x335aaef2sdf 0t0 TCP *:a39c892 (LISTEN)
To know which services are running on which port you can do a port scan on a Mac device as follows :
Port Scan has started… Port Scanning host: 127.0.0.1 Open TCP Port: 80 http Open TCP Port: 88 kerberos Open TCP Port: 443 https Open TCP Port: 631 ipp Open TCP Port: 3306 mysql Port Scan has completed…
Code2care'smission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.