In my windows machine telnet services are set disabled in windows machine. But when you do:
telnet localhost 25 still the SMTP listens. how can i set not to listen to the service?
In my windows machine telnet services are set disabled in windows machine. But when you do:
telnet localhost 25 still the SMTP listens. how can i set not to listen to the service?
Port 25 is not the telnet port. It is the SMTP port, and what you're getting is the response from the SMTP server — as you say, "still the SMTP listens".
When you are using the
telnet
client this way, you are not actually using the telnet protocol. You're using the same command, but conveniently, unless you connect to something that starts sending the special telnet control character (0xFF in hex), it effectively acts like a raw TCP connection. (Give or take some technical quibbles — if the quibbles matter, usenetcat
instead oftelnet
.) And then, if you like, since SMTP is a simple protocol, you can type SMTP commands and pretend you are a mail program. (This can be quite useful for testing.)So, basically, if you want this to stop, turn off SMTP. Otherwise, don't worry about it.
Port 25 is email not telnet, if you're running a mail server on that box you cant disable it. If you aren't running a mail server on the box then you just have to find whatever product has gotten installed that is listening on port 25.