X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.3 required=5.0	tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,SARE_TOCC_CONS6s,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=UTF-8; format=flowed
Date: Tue, 24 Apr 2012 13:53:04 +0400
From: Fedin Pavel <p.fedin@samsung.com>
Subject: Re: Read from socket failed: Connection reset by peer
In-reply-to: <CA+zRRSpDKmFWg=+snZHPmwCPWcs1a7Kca4YH77OGo1SXHRAu4w@mail.gmail.com>
To: Gyurmo <nxmgvxh@spamfalo.hu>, cygwin@cygwin.com
Message-id: <4F967800.1020002@samsung.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:10.0) Gecko/20120206 Thunderbird/10.0
References: <CA+zRRSpDKmFWg=+snZHPmwCPWcs1a7Kca4YH77OGo1SXHRAu4w@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 24.04.2012 13:43, Gyurmo wrote:
> Hello
>
> I have a problem again.
>
> Read from socket failed: Connection reset by peer
>
  Try restarting sshd service. If this works, you have the same problem 
as i do with portmap.
  And, you know, i have one guess. How early are services started? If 
they somehow manage to start up before network interface goes up, they 
won't be able to bind to correct addresses. However, i don't know how to 
fix it.
  BTW you can prove it. Take telnet client and try to connect:
1. From remote machine to your port 22.
2. From the same machine, using network interface's IP
3. From the same machine, using localhost IP.
  If (1) doesn't work and (3) works, my guess is correct.

-- 
  Kind regards
  Pavel Fedin
  Expert engineer, Samsung Moscow research center


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

