Windows server 2008 FTP 被動模式埠范圍怎么限制
uj5u.com熱心網友回復:
Configure the FTP service to only use a limited number of ports for passive mode FTP
--------------------------------------------------------------------------------
1.In the IIS 7.0 Manager, in the Connections pane, click the top node for your server.
2.In the details pane, double-click FTP Firewall Support.
3.Enter the range of port numbers that you want the FTP service to use. For example, 41000-41099 allows the server to support 100 passive mode data connections simultaneously.
4.Enter the external IPv4 address of the firewall through which the data connections arrive.
5.In the Actions pane, click Apply to save your settings.
可以直接在IIS里面配置的。
https://technet.microsoft.com/en-us/library/dd421710(v=ws.10).aspx
uj5u.com熱心網友回復:
個人建議,還是不要用Windows原生的FTP服務:第一:配置起來真的是相當麻煩;第二:權限控制搞個人。還是直接用FileZilla搭配FlashFXP使用吧!你這個問題官方是給到有答案的:
windows下FTP被動模式下資料傳輸默認使用的埠是服務器的臨時埠。而Windows服務器臨時埠范圍默認是:49152-65535。
查看動態埠范圍
netsh int ipv4 show dynamicport tcp
TCP 的動態埠范圍
netsh int ipv4 set dynamicport tcp start = 10000 num = 1000
參考:https://support.microsoft.com/zh-cn/help/929851/the-default-dynamic-port-range-for-tcp-ip-has-changed-in-windows-vista
uj5u.com熱心網友回復:
比如2220-2221,或者 3332-3333. 不需要開放很多埠,要不然你服務器和云供應商得開放很多埠。轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/15415.html
上一篇:請教高手:WIN7 家長控制功能,以前有效,現在不作業了。
下一篇:為什么占用記憶體那么高?
