Connection getting dropped immediately on telnetClosing telnet connection gracefully from session mode itself...

Why did this image turn out darker?

Checking for the existence of multiple directories

How would a Dictatorship make a country more successful?

Isn't using the Extrusion Multiplier like cheating?

Does Windows 10's telemetry include sending *.doc files if Word crashed?

Why did other German political parties disband so fast when Hitler was appointed chancellor?

Why Normality assumption in linear regression

Does Improved Divine Smite trigger when a paladin makes an unarmed strike?

How to deal with an incendiary email that was recalled

How to prevent users from executing commands through browser URL

What is the purpose of easy combat scenarios that don't need resource expenditure?

Quenching swords in dragon blood; why?

Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?

What is the wife of a henpecked husband called?

Difference between two quite-similar Terminal commands

Can a dragon be stuck looking like a human?

Can you earn endless XP using a Flameskull and its self-revival feature?

A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?

Strange Sign on Lab Door

Explain the objections to these measures against human trafficking

What is the most triangles you can make from a capital "H" and 3 straight lines?

How can animals be objects of ethics without being subjects as well?

Parsing a string of key-value pairs as a dictionary

Why do neural networks need so many training examples to perform?



Connection getting dropped immediately on telnet


Closing telnet connection gracefully from session mode itself without going to telnet promptTelnet SMTP connectionConection refused error for telnet and sshTelnet stuck on “connecting”Telnet Session “Stuck” while in PuTTYCannot open a connection from a PC but the host can be reached from other computersConnection closed by foreign host – telnettelnet to smtp . 421 4.3.2 Service not available Connection closed by foreign hostCan't telnet to routerReceiving ERR_CONNECTION_REFUSED intermittently while browsing websites













0















Am getting a connection closed by foreign host error on port 465 but working fine for another port 993. What could be the issue.



% telnet x.x.x.x 465
Trying x.x.x.x...
Connected to x.x.x.x
Escape character is '^]'.
Connection closed by foreign host.










share|improve this question














bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    Am getting a connection closed by foreign host error on port 465 but working fine for another port 993. What could be the issue.



    % telnet x.x.x.x 465
    Trying x.x.x.x...
    Connected to x.x.x.x
    Escape character is '^]'.
    Connection closed by foreign host.










    share|improve this question














    bumped to the homepage by Community 4 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      Am getting a connection closed by foreign host error on port 465 but working fine for another port 993. What could be the issue.



      % telnet x.x.x.x 465
      Trying x.x.x.x...
      Connected to x.x.x.x
      Escape character is '^]'.
      Connection closed by foreign host.










      share|improve this question














      Am getting a connection closed by foreign host error on port 465 but working fine for another port 993. What could be the issue.



      % telnet x.x.x.x 465
      Trying x.x.x.x...
      Connected to x.x.x.x
      Escape character is '^]'.
      Connection closed by foreign host.







      telnet






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 19 '13 at 12:09









      tomfranstomfrans

      11




      11





      bumped to the homepage by Community 4 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 4 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Port 465 is the SMTPS port, SMTP over SSL. As such, your probably want to use the openssl tool rather than telnet if you are trying to debug SMTP. This won't solve your original issue though, which is that the remote host is immediately disconnecting you. This may be due to it only allowing connections from certain addresses. The way this is implemented is to accept connections and then close them if they don't originate from an accepted IP address. I would need more details on the SMTP server you are using, and its configuration, to help you more than that.



          To use openssl, try:



          openssl s_client -connect remote.host:465





          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f647517%2fconnection-getting-dropped-immediately-on-telnet%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Port 465 is the SMTPS port, SMTP over SSL. As such, your probably want to use the openssl tool rather than telnet if you are trying to debug SMTP. This won't solve your original issue though, which is that the remote host is immediately disconnecting you. This may be due to it only allowing connections from certain addresses. The way this is implemented is to accept connections and then close them if they don't originate from an accepted IP address. I would need more details on the SMTP server you are using, and its configuration, to help you more than that.



            To use openssl, try:



            openssl s_client -connect remote.host:465





            share|improve this answer






























              0














              Port 465 is the SMTPS port, SMTP over SSL. As such, your probably want to use the openssl tool rather than telnet if you are trying to debug SMTP. This won't solve your original issue though, which is that the remote host is immediately disconnecting you. This may be due to it only allowing connections from certain addresses. The way this is implemented is to accept connections and then close them if they don't originate from an accepted IP address. I would need more details on the SMTP server you are using, and its configuration, to help you more than that.



              To use openssl, try:



              openssl s_client -connect remote.host:465





              share|improve this answer




























                0












                0








                0







                Port 465 is the SMTPS port, SMTP over SSL. As such, your probably want to use the openssl tool rather than telnet if you are trying to debug SMTP. This won't solve your original issue though, which is that the remote host is immediately disconnecting you. This may be due to it only allowing connections from certain addresses. The way this is implemented is to accept connections and then close them if they don't originate from an accepted IP address. I would need more details on the SMTP server you are using, and its configuration, to help you more than that.



                To use openssl, try:



                openssl s_client -connect remote.host:465





                share|improve this answer















                Port 465 is the SMTPS port, SMTP over SSL. As such, your probably want to use the openssl tool rather than telnet if you are trying to debug SMTP. This won't solve your original issue though, which is that the remote host is immediately disconnecting you. This may be due to it only allowing connections from certain addresses. The way this is implemented is to accept connections and then close them if they don't originate from an accepted IP address. I would need more details on the SMTP server you are using, and its configuration, to help you more than that.



                To use openssl, try:



                openssl s_client -connect remote.host:465






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Sep 19 '13 at 12:32

























                answered Sep 19 '13 at 12:19









                wingedsubmarinerwingedsubmariner

                1,40277




                1,40277






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f647517%2fconnection-getting-dropped-immediately-on-telnet%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

                    Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...