nmapをかけてみたら
と余計なサービスが動いていたので次々止めていくことに。
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
631/tcp open ipp
まずはsmtpを止める。これはsendmailを止めればいいので
次にrpcbind、Googleで検索してみたらportmapだとでてたが、そんなファイル見つからず、
/etc/init.d/sendmail stop
chkconfig sendmail off
ls /etc/init.d/を実行したらrpcbindというのがあったので停止
次にipp、Googleで検索したらcupsだとわかり停止
/etc/init.d/rpcbind stop
chkconfig rpcbind off
最後にsshが残ってるけど、こいつは残しておこう
/etc/init.d/cups stop
chkconfig cups off