WINSCP connection refused

Advertisement

ilovesoup
Joined:
Posts:
4
Location:
457

WINSCP connection refused

Hi all,
I'm newbie.
My environment is:
Ubuntu 10.10 as guest OS on virtualbox 4 hosted by win7
NAT with port 22 forwarding on a wireless card

When I tried to connect my Ubuntu using WinSCP it showed connection refused.
I've my OpenSSH server installed and putty connection is OK.
I've also add WinSCP in my firewall rule...

Anyone can help me out?

Thanks in advance indeed..

Reply with quote

Advertisement

ilovesoup
Joined:
Posts:
4
Location:
457

Solved

Thanks for suggestion. It's rather useful and the problem was solved by checking log.
It seems my system have problem to handle the name "localhost". Now I use 127.0.0.1 and it works. But I don't know why putty can interpret the host name correctly...
Anyway, thanks indeed!!

Below is the WinSCP log.

. 2011-02-08 21:11:03.958 Looking up host "localhost"
. 2011-02-08 21:11:07.756 Connecting to ::1 port 22
. 2011-02-08 21:11:09.142 Failed to connect to ::1: Network error: Connection refused
. 2011-02-08 21:11:09.142 Connecting to ::1 port 22
. 2011-02-08 21:11:09.143 Selecting events 63 for socket 976
. 2011-02-08 21:11:09.143 Attempt to close connection due to fatal exception:
* 2011-02-08 21:11:09.143 Network error: Connection refused.
. 2011-02-08 21:11:09.143 Closing connection.
. 2011-02-08 21:11:09.143 Sending special code: 12
* 2011-02-08 21:11:10.144 (ESshFatal) Network error: Connection refused.

Here is the putty log.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2011.02.08 21:19:29 =~=~=~=~=~=~=~=~=~=~=~=
Event Log: Writing new session log (SSH raw data mode) to file: D:\Download\winscp429\putty.log
Event Log: Looking up host "localhost"
Event Log: Connecting to ::1 port 22
Event Log: Failed to connect to ::1: Network error: Connection refused
Event Log: Connecting to 127.0.0.1 port 22

Reply with quote

ilovesoup
Joined:
Posts:
4
Location:
457

thank you~

Sorry for late response.
I've tried debug version and found no difference with release version.
Anything I can do for you to improve WinSCP?

Just tell me what to do to collect data and I'll be very glad if I can help.

Reply with quote

Advertisement

ilovesoup
Joined:
Posts:
4
Location:
457

. 2011-02-19 23:41:44.466 --------------------------------------------------------------------------
. 2011-02-19 23:41:44.484 WinSCP Version 4.3.0 (Build 1102) (OS 6.1.7600)
. 2011-02-19 23:41:44.488 Login time: Saturday, February 19, 2011 11:41:44 PM
. 2011-02-19 23:41:44.493 --------------------------------------------------------------------------
. 2011-02-19 23:41:44.496 Session name: ilovesoup@localhost
. 2011-02-19 23:41:44.500 Host name: localhost (Port: 22)
. 2011-02-19 23:41:44.504 User name: ilovesoup (Password: Yes, Key file: No)
. 2011-02-19 23:41:44.506 Tunnel: No
. 2011-02-19 23:41:44.509 Transfer Protocol: SCP
. 2011-02-19 23:41:44.512 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2011-02-19 23:41:44.515 Proxy: none
. 2011-02-19 23:41:44.519 SSH protocol version: 2; Compression: No
. 2011-02-19 23:41:44.522 Bypass authentication: No
. 2011-02-19 23:41:44.525 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2011-02-19 23:41:44.529 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2011-02-19 23:41:44.532 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2011-02-19 23:41:44.534 SFTP Bugs: -,-
. 2011-02-19 23:41:44.537 Return code variable: Autodetect; Lookup user groups: Yes
. 2011-02-19 23:41:44.539 Shell: default
. 2011-02-19 23:41:44.542 EOL: 0, UTF: 2
. 2011-02-19 23:41:44.544 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2011-02-19 23:41:44.546 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2011-02-19 23:41:44.549 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-02-19 23:41:44.552 Cache directory changes: Yes, Permanent: Yes
. 2011-02-19 23:41:44.554 DST mode: 1
. 2011-02-19 23:41:44.559 --------------------------------------------------------------------------
. 2011-02-19 23:41:44.726 Looking up host "localhost"
. 2011-02-19 23:41:44.784 Connecting to ::1 port 22
. 2011-02-19 23:41:45.801 Failed to connect to ::1: Network error: Connection refused
. 2011-02-19 23:41:45.815 Connecting to ::1 port 22
. 2011-02-19 23:41:45.852 Selecting events 63 for socket 772
. 2011-02-19 23:41:45.867 Attempt to close connection due to fatal exception:
* 2011-02-19 23:41:45.873 Network error: Connection refused.
. 2011-02-19 23:41:45.879 Closing connection.
. 2011-02-19 23:41:45.887 Sending special code: 12
* 2011-02-19 23:41:46.000 (ESshFatal) Network error: Connection refused.

The log is like this..

Reply with quote

Advertisement

You can post new topics in this forum