Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: WinSCP bound too many ports

Thanks. Let us know.
txhwind

Re: WinSCP bound too many ports

I noticed it hours ago, so I haven't do some experiments about it.
But after I close WinSCP and restart with the same SSH connection configuration, only one port is bounded now.
My usage is usual. Only operations are changing/refreshing local/remote working directories in explorer view and uploading/downloading files (cancelled sometimes).
I think the problem comes from time. I use WinSCP in my working environment, so the connection will be kept for weeks until my local machine has to close.
I also met the same problem months ago, but I didn't check it with netstat.
Status of these ports are all "bound" but not listening or in a connection. It looks like something like memory leak.
I will keep observing ports in following days.

martin wrote:

Thanks for you report.
Can you tall what operation causes an additional port to be bound?
Are you using some unusual settings? Like SSH tunneling?
martin

Re: WinSCP bounds too many ports

Thanks for you report.
Can you tall what operation causes an additional port to be bound?
Are you using some unusual settings? Like SSH tunneling?
txhwind

WinSCP bounds too many ports

netstat -oq
shows nearly all ports between 1000 and 15000 are bounded by WinSCP.
This makes my application can't listen on these ports.
What happened here?

WinSCP version: I just updated it after I closed it, so I don't know the issue version.
OS version: Windows Server 2016 DataCenter
Protocol: SFTP
GUI or command: GUI explorer
Reproduction: keep WinSCP connected to a remote SSH server for weeks and do a lot of file transfers