0 votes
by (120 points)

Hi Team,

We are having a UAT environment containing the Application and Database running on the same server on Windows Failover cluster.

Due to the Database installation,
Port 22 is occupied with the other service.

After the installation of Rebex SFTP server(Licensed product).
Rebex SFTP is unable to start the SFTP service, please find the error for the same.
c:\Program Files\Rebex Buru SFTP Server>burusftp run
210925 18:28:20.649 ERR One or more errors occurred. (The specified socket is already in use.)
System.AggregateException: One or more errors occurred. (The specified socket is already in use.)
---> System.InvalidOperationException: The specified socket is already in use.
---> System.Net.Sockets.SocketException (10048): Only one usage of each socket address (protocol/network address/port) is normally permitted.
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at trdpj.zpigq.oulcv(EndPoint p0, Boolean p1)
--- End of inner exception stack trace ---
at trdpj.zpigq.oulcv(EndPoint p0, Boolean p1)
at trdpj.zpigq..ctor(EndPoint ep, String hostname, fzdpx runner)
at trdpj.nfuwu.qnspy(IPEndPoint p0, pbrtv p1)
at trdpj.zevhq.uotkf(IPEndPoint p0, FileServerProtocol p1)
at trdpj.fmeto.ymunl(IEnumerable1 p0, zevhq p1, FileServerProtocol p2) at trdpj.fmeto.tzdoj(fosjf[] p0, zevhq p1) at trdpj.fmeto.royak(zevhq p0) at trdpj.bzpmb.pmopl() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Rebex.SftpServer.ConsoleApp.ConsoleAppVerbHandler.HandleVerb(VerbOptionsBase verb)
at trdpj.nkofr.oehse(String[] p0)

Please help me to change the default port for REBEX sftp server in windows.

Regards,
Rohit

Applies to: Buru SFTP Server

1 Answer

0 votes
by (1.9k points)

Hi Rohit,

You can change the port either using the Web Administration program or by editing the configuration file - see https://www.rebex.net/buru-sftp-server/doc/configuration#bindings

...