I have an c#.net core console application in which SNMP socket is binding to port 161(hard coded value). Application is getting error at the runtime.
Error: "Address already in use"
Currently 161 port address is used by another process SNMPD. I tried to kill the SNMPD process,but again it is running automatically.
How to kill SNMPD process? Please help me on this issue...
You can stop snmpd
with sudo systemctl stop snmpd
, but if you are not using it you might be better off uninstalling it.