Overview
"No free port available in the specified port range" is seen in the logs. This article will discuss the cause of this issue.
Environment
GoAnywhere MFT - all versions
GoAnywhere Gateway - all versions
FTPS Service configuration
Resolution
When utilizing GoAnywhere Gateway, you are required to specify a Passive Proxy Port Range for Passive FTP connections. If you have more incoming connections than available ports, you will see the following error in your logs -
gagateway.log:2018-08-10 09:30:05 AM ERROR No free port available in the specified port range
In order to ensure better connectivity and to remove this error, make your passive port range larger. You can do this by going to [install directory]/config/gateway.xml. Update the passiveProxyPortRangeFrom and passiveProxyPortRangeTo fields, adding ports to your range. By default, GoAnywhere Gateway has a range of 2,000 ports. Always ensure you have enough ports available for the amount of connections your organization expects from clients and trading partners.
Please be sure to check that your FTP service reflects the changes you made to the gateway.xml file. On the GoAnywhere MFT administrator page, navigate to Services -> Service Manager -> FTP -> Edit. Under "Data Connection," select "Passive." In the "Ports" field, insert the port range you specified in the gateway.xml file. If you are using FTPS, please also add these configuration changes to your FTPS service.
"No free port available in the specified port range" error in log file
View some of the Frequently Asked Questions to our support staff. Included are some tips and tricks making this forum ideal for users getting started with GoAnywhere MFT, Gateway, Agents, etc.
Note: Users can reply to existing topics but only our support staff can add new topics to this forum.
Note: Users can reply to existing topics but only our support staff can add new topics to this forum.
- Support_Jake Offline
- Fortra Employee
- Posts: 85
- Joined: Tue Jul 17, 2018 9:14 am
- Contact:
"No free port available in the specified port range" error in log file
Jacob Przybysz
Associate Support Manager
+1 402.944.4242
fortra.com

Associate Support Manager
+1 402.944.4242

