freeSSHd and freeFTPd

Remember me Registration (Optional)

Please note that there is no official support from the author for freeSSHd or freeFTPd. You should not expect to receive response on messages posted here.

Forums -> freeSSHd - Bug reports -> ERROR: The specified address is already in use
Postings: 1-10 11-20 21-21  Reply | New topic

Chris
Newcomer
          
ERROR: The specified address is already in use 29-06-2005 00:30
This has been working perfectly for me then I started playing around with some vpn stuff. That didn't end up working for me and has since been completely uninstalled. However, when I try to start the SSH server back up I get ERROR: The specified address is already in use. Telnet with start without a problem, it's just SSH. I have tried several different ports and all the possible listening addresses. Can anyone offer any suggestions?

Thanks,
Chris
Reply with quote

gyratedotorg
Anonymous
          
Re: ERROR: The specified address is already in use 12-07-2005 19:54
im having the same problem. after further investigation, ive discovered several port 22 connections in the close_wait state, even though the freesshd service isn't running. i wonder if this could be part of the problem.
Reply with quote

freesshd
Your main contact

Postings: 936
Administrator
          
Re: ERROR: The specified address is already in use 13-07-2005 01:27
We tried to simulate the problem ourselves without any luck. It seems that the problem isn't caused by a bug in freeSSHd. Maybe a misconfiguration of VPN?

Quote:
im having the same problem. after further investigation, ive discovered several port 22 connections in the close_wait state, even though the freesshd service isn't running. i wonder if this could be part of the problem.

Reply with quote

czsmith

Postings: 2
Newcomer
          
Re: ERROR: The specified address is already in use 15-07-2005 23:35
This sounds similar to the TIME_WAIT state... did you try to set the SO_REUSEADDR option on the socket before binding it to the SSH port?


Quote:
We tried to simulate the problem ourselves without any luck. It seems that the problem isn't caused by a bug in freeSSHd. Maybe a misconfiguration of VPN?

im having the same problem. after further investigation, ive discovered several port 22 connections in the close_wait state, even though the freesshd service isn't running. i wonder if this could be part of the problem.


Reply with quote

allievo

Anonymous
          
sad.gif Re: ERROR: The specified address is already in use 27-10-2005 00:53
I am experiencing the same problem, although the server first worked fine. I do not know when the problem occured, since all of a sudden it was there when I used mstsc to access my computer from another location.

If anyone finds a solution to this problem, please post it, I would really much like to use this SSH server!
Reply with quote

Wildman

Anonymous
          
doh.gif Re: ERROR: The specified address is already in use 03-12-2006 02:34
I am having a similar problem. I am able to make an inbound rsync over ssh connection and after a few minutes the ssh service stops and kills my backup. When I try to restart the service I get "ERROR The specified address already in use". I am unable to restart? A server reboot is required. If I make a regular inbound ssh connection to a shell without forwarding any rsync traffic then the connection does not self terminate. It kinda feels like the ssh server is being choked by the amount of inbound traffic.

Reply with quote

Wildman

Anonymous
          
Re: ERROR: The specified address is already in use 03-12-2006 02:43
I forgot to mention... I am NOT using a VPN.
This is a BUG with freesshd.
Not being able to restart the service from services or the gui freessh interface is a BUG.
Reply with quote

Wildman

Anonymous
          
doh.gif Re: ERROR: The specified address is already in use 03-12-2006 06:37
Faulting application FreeSSHDService.exe version 1.0.10.0 faulting module msvcrt.dll version 7.0.3790.1830 fault address 0x00037e23
Reply with quote

mctiew

Postings: 16
New member
          
Re: ERROR: The specified address is already in use 03-12-2006 11:50
Quote:
im having the same problem. after further investigation, ive discovered several port 22 connections in the close_wait state, even though the freesshd service isn't running. i wonder if this could be part of the problem.


If we go back to the older posts, we know exactly this is what is causing the problem, yes certain processes are occupying the ports
as a result, the freesshd will give this error.

If you really want to free up the SSH port, you could bring up task manager to see the programs if you previously executed remotedly. Kill them all will fix this problem.

Now this is a chicken-and-egg problem, why certain processes (created by freesshd ) are occupying the ports ? I have personally seen before such thing happening. This my reasoning :-

It happens if your previous remote tasks are in executed but hit some error during the execution, and some are even blocked. And because freesshd execute the process without waiting for it to complete, and as the ssh client closes the connection, it still leaves the remote tasks running. Therefore a blocked/staled process will continued to be blocked.

In unix environment, when a login user sign on the execute a background job, and if he logs off before the job is completed, the shell will immediately send a signal to the the job, and the job upon receiving the signal will terminate and clean up. However, this is not the case for most Windows programs. They don't handle 'signal'.

Short of having a posix environment, I am not sure what is the best way to solve this problem. In the meantime, you just have to make sure all your remote jobs are executed successfully and nothing is blocked or staled.
Reply with quote

kanwaljit

Anonymous
          
Re: ERROR: The specified address is already in use 20-01-2007 14:21
Quote:
This has been working perfectly for me then I started playing around with some vpn stuff. That didn't end up working for me and has since been completely uninstalled. However, when I try to start the SSH server back up I get ERROR: The specified address is already in use. Telnet with start without a problem, it's just SSH. I have tried several different ports and all the possible listening addresses. Can anyone offer any suggestions?

Thanks,
Chris


Quote:

Try to see if in "Services" FreeFTPdService is running. Stop it from services. and Try connecting sFTP again.
Reply with quote
Postings: 1-10 11-20 21-21  

Search the forum

Latest posts

Current version

Related sites

Internet & Security Components

VPN and Instant Messaging - all in one!