How can I disable port 36666?

  • I ran netstat -nltp and found there were a few ports open like : 111 and 36666 that I was not expecting.

    I was able to close port 111 by masking rpcbind.service and rpcbind.socket but I can't seems to figure out how to disable port 36666.

    netstat -nltp output:

    Code
    tcp        0      0 :::36666                :::*                    LISTEN      1281/kodi.bin

    ps aux output:

    Code
     1281 root      1d11 /usr/lib/kodi/kodi.bin --standalone -fs

    Can someone share how can I close this?

    TIA