Differences
This shows you the differences between the selected revisions of the page.
ui_pref_network 2013-12-20 | ui_pref_network 2021-06-18 (current) | ||
Line 1: | Line 1: | ||
- | ====== Network Page (Preferences Dialog) ====== | + | ====== The Network Page (Preferences Dialog) ====== |
The //Network page// on the [[ui_preferences|Preferences dialog]] allows you to configure global network preferences. | The //Network page// on the [[ui_preferences|Preferences dialog]] allows you to configure global network preferences. | ||
&screenshotpict(pref_network) | &screenshotpict(pref_network) | ||
- | ===== External IP address ===== | + | &toc_title_page_sections |
- | To use active mode with [[ftp|FTP protocol]], WinSCP needs to know an IP address, via which the server can reach your machine. If you have a direct connection to the network, WinSCP can ask operating system for the IP address. | + | |
- | But if you are behind NAT router, it would return only the local network address. Then you need to check //Use following external IP address// and fill your external IP address in the box below. You can find your external IP address using many online services, like [[http://whatsmyip.net/|whatsmyip.net]] or [[https://www.google.com/search?q=what+is+my+ip|Google]]. | + | ===== Incoming FTP Connections (Active Mode) ===== |
+ | This box includes options for the the [[ftp_modes#active|active mode]] of [[ftp|FTP protocol]]. | ||
- | ===== Connections ===== | + | To use the active mode, WinSCP needs to know an IP address, via which the server can reach your machine. If you have a direct connection to the server, WinSCP can ask operating system for the IP address. That is the default behaviour, which corresponds to the //Retrieve the external IP address from operating system//. |
- | Use //When SFTP connection is rejected, knock FTP port// to make WinSCP automatically try to detect, if server supports FTP protocol((For detection, WinSCP tries to open port ''21'' (immeditelly closing it, if succeeds) on the remote host. WinSCP does not send any data to the host.·)), when SFTP connection fails. This is to help novice users, who do not realize that WinSCP defaults to SFTP (contrary to most other file transfer clients). | + | |
+ | But if you are behind NAT router, the operation system would provide only the local network address. Then you need to check //Use the following external IP address// and fill your external IP address in the box below. You can find your external IP address using many online services, like [[http://whatsmyip.net/|whatsmyip.net]] or [[https://www.google.com/search?q=what+is+my+ip|Google]]. | ||
+ | |||
+ | When actively listening for incoming connections from the FTP server, WinSCP by default uses a random port number automatically assigned by the operating system. The range of port numbers used by the system is usually 49152 – 65535. If you want to change the range, check the //Limit listening ports to// checkbox. You will typically want to do that to match your firewall configuration with WinSCP. | ||
+ | |||
+ | ===== [[connections]] Connections ===== | ||
+ | Use //When %%SFTP%% connection is rejected, knock %%FTP%% port// to make WinSCP automatically try to detect, if server supports FTP protocol,((For detection, WinSCP tries to open port ''21'' (immediately closing it, if succeeds) on the remote host. WinSCP does not send any data to the host.)) when SFTP connection fails. This is to help novice users, who do not realize that WinSCP defaults to the %%SFTP%% (contrary to most other file transfer clients). | ||
===== Further Reading ===== | ===== Further Reading ===== | ||
Read more about [[ui_preferences|Preferences dialog]] and its other [[ui_preferences#pages|pages]]. | Read more about [[ui_preferences|Preferences dialog]] and its other [[ui_preferences#pages|pages]]. |