[{"data":1,"prerenderedAt":749},["ShallowReactive",2],{"\u002Fvi\u002Fnetwork\u002Fftp-server":3,"\u002Fvi\u002Fnetwork":504},{"id":4,"title":5,"body":6,"description":496,"extension":497,"meta":498,"navigation":499,"path":500,"seo":501,"stem":502,"__hash__":503},"networks\u002Fvi\u002Fnetwork\u002Fftp-server.md","Cách chạy máy chủ FTP trên Android",{"type":7,"value":8,"toc":483},"minimark",[9,13,22,27,64,67,71,76,93,98,122,127,137,141,146,162,168,172,175,199,203,302,308,312,319,332,336,344,418,422,425,443,447,471,475],[10,11,12],"p",{},"Máy chủ FTP tích hợp của AnExplorer cho phép điện thoại của bạn hoạt động như một máy chủ tệp trên mạng Wi-Fi cục bộ của bạn. Bất kỳ máy tính nào — Windows, Mac hoặc Linux — đều có thể kết nối bằng ứng dụng khách FTP tiêu chuẩn và duyệt bộ nhớ điện thoại của bạn mà không cần cáp USB hoặc ứng dụng bổ sung trên máy tính.",[10,14,15,16,21],{},"Điều này nhanh hơn và linh hoạt hơn so với việc sử dụng USB để truyền số lượng lớn. Hướng dẫn liên quan: ",[17,18,20],"a",{"href":19},"\u002Fvi\u002Ftransfer\u002Fandroid-to-pc","cách chuyển tệp từ Android sang PC",".",[23,24,26],"h2",{"id":25},"cách-khởi-động-máy-chủ-ftp","Cách khởi động máy chủ FTP",[28,29,30,38,45,51,61],"ol",{},[31,32,33,34],"li",{},"Mở ",[35,36,37],"strong",{},"AnExplorer",[31,39,40,41,44],{},"Nhấn vào ",[35,42,43],{},"≡ menu"," hoặc vuốt từ thanh bên trái",[31,46,47,48],{},"Chọn ",[35,49,50],{},"Máy chủ FTP",[31,52,40,53,56,57],{},[35,54,55],{},"Bắt đầu"," — máy chủ khởi động và hiển thị cho bạn một URL như ",[58,59,60],"code",{},"ftp:\u002F\u002F192.168.1.105:2221",[31,62,63],{},"Lưu ý địa chỉ IP và cổng hiển thị",[10,65,66],{},"Máy chủ FTP chỉ chạy khi AnExplorer đang mở và màn hình bật (hoặc khi ứng dụng đang chạy ở chế độ nền). Nó tự động dừng khi bạn đóng ứng dụng.",[23,68,70],{"id":69},"kết-nối-từ-pc-windows","Kết nối từ PC Windows",[10,72,73],{},[35,74,75],{},"Tùy chọn A — Windows File Explorer:",[28,77,78,81,87,90],{},[31,79,80],{},"Mở File Explorer",[31,82,83,84,86],{},"Trong thanh địa chỉ, gõ: ",[58,85,60],{}," (sử dụng IP hiển thị trong AnExplorer)",[31,88,89],{},"Chấp nhận kết nối - nếu được nhắc nhập tên người dùng và mật khẩu, hãy sử dụng thông tin xác thực được đặt trong AnExplorer (mặc định: không có thông tin xác thực trên mạng cục bộ)",[31,91,92],{},"Bộ nhớ điện thoại của bạn xuất hiện dưới dạng một thư mục",[10,94,95],{},[35,96,97],{},"Tùy chọn B — FileZilla (ứng dụng khách FTP miễn phí):",[28,99,100,103,106,116,119],{},[31,101,102],{},"Tải xuống FileZilla từ filezilla-project.org",[31,104,105],{},"Mở FileZilla > Tệp > Trình quản lý trang > Trang web mới",[31,107,108,109,112,113],{},"Giao thức: FTP, Máy chủ: ",[58,110,111],{},"192.168.1.105",", Cổng: ",[58,114,115],{},"2221",[31,117,118],{},"Kiểu đăng nhập: Bình thường, nhập tên người dùng\u002Fmật khẩu nếu được cấu hình",[31,120,121],{},"Kết nối - các tập tin điện thoại xuất hiện ở bảng bên phải",[10,123,124],{},[35,125,126],{},"Tùy chọn C — Dòng lệnh:",[128,129,134],"pre",{"className":130,"code":132,"language":133},[131],"language-text","ftp 192.168.1.105 2221\n","text",[58,135,132],{"__ignoreMap":136},"",[23,138,140],{"id":139},"connecting-from-a-mac","Connecting from a Mac",[10,142,143],{},[35,144,145],{},"Option A — Finder:",[28,147,148,151,156,159],{},[31,149,150],{},"Finder > Go > Connect to Server (⌘K)",[31,152,153,154],{},"Type ",[58,155,60],{},[31,157,158],{},"Click Connect — Finder mounts the phone as a disk",[31,160,161],{},"Drag files to copy them",[10,163,164,167],{},[35,165,166],{},"Option B — Cyberduck (free):","\nCyberduck is a reliable free FTP client for macOS with a clean drag-and-drop interface. Download at cyberduck.io, create a new connection using the FTP server URL, port, and credentials.",[23,169,171],{"id":170},"connecting-from-linux","Connecting from Linux",[10,173,174],{},"Most Linux file managers (Nautilus, Dolphin, Thunar) support FTP browsing natively:",[176,177,178,183,188],"ul",{},[31,179,180,181],{},"Nautilus: Open Files app > Other Locations > type ",[58,182,60],{},[31,184,185,186],{},"Dolphin: Address bar > ",[58,187,60],{},[31,189,190,191,194,195,198],{},"Terminal: ",[58,192,193],{},"ftp 192.168.1.105 2221"," or use ",[58,196,197],{},"lftp"," for full-featured FTP client",[23,200,202],{"id":201},"ftp-server-settings-in-anexplorer","FTP Server Settings in AnExplorer",[204,205,206,222],"table",{},[207,208,209],"thead",{},[210,211,212,216,219],"tr",{},[213,214,215],"th",{},"Setting",[213,217,218],{},"Default",[213,220,221],{},"What it does",[223,224,225,238,251,263,276,289],"tbody",{},[210,226,227,233,235],{},[228,229,230],"td",{},[35,231,232],{},"Port",[228,234,115],{},[228,236,237],{},"Change if port 2221 is blocked; common alternatives: 21, 2020",[210,239,240,245,248],{},[228,241,242],{},[35,243,244],{},"Username",[228,246,247],{},"(blank)",[228,249,250],{},"Add a username to restrict access",[210,252,253,258,260],{},[228,254,255],{},[35,256,257],{},"Password",[228,259,247],{},[228,261,262],{},"Require a password for all connections",[210,264,265,270,273],{},[228,266,267],{},[35,268,269],{},"Root directory",[228,271,272],{},"Internal storage",[228,274,275],{},"Restrict FTP access to a specific folder",[210,277,278,283,286],{},[228,279,280],{},[35,281,282],{},"Anonymous access",[228,284,285],{},"On",[228,287,288],{},"Allow connections without credentials",[210,290,291,296,299],{},[228,292,293],{},[35,294,295],{},"Require login",[228,297,298],{},"Off",[228,300,301],{},"Turn on for shared-network security",[10,303,304,307],{},[35,305,306],{},"Tip",": On a private home Wi-Fi network, anonymous access is generally fine. If you're on a shared network (office, apartment, hotel), always set a password.",[23,309,311],{"id":310},"security-considerations","Security Considerations",[10,313,314,315,318],{},"The FTP protocol itself does ",[35,316,317],{},"not encrypt"," connections. Anyone on the same Wi-Fi network can technically intercept the connection. For a home network this is acceptable. For shared\u002Fpublic Wi-Fi it is not.",[10,320,321,322,326,327,331],{},"For encrypted transfers, use AnExplorer's ",[17,323,325],{"href":324},"\u002Fvi\u002Fnetwork\u002Fsftp","SFTP"," or ",[17,328,330],{"href":329},"\u002Fvi\u002Fnetwork\u002Fwebdav","WebDAV"," options instead. Both support TLS\u002FSSH encryption.",[23,333,335],{"id":334},"ftp-server-vs-device-connect","FTP Server vs Device Connect",[10,337,338,339,343],{},"AnExplorer also offers ",[17,340,342],{"href":341},"\u002Fvi\u002Fnetwork\u002Flocal-server","Device Connect"," — an HTTP-based server that lets you browse and download files from any browser without any FTP client software. If the person you're sharing files with doesn't have an FTP client, Device Connect is simpler.",[204,345,346,357],{},[207,347,348],{},[210,349,350,352,355],{},[213,351],{},[213,353,354],{},"FTP Server",[213,356,342],{},[223,358,359,370,379,388,399,409],{},[210,360,361,364,367],{},[228,362,363],{},"Requires FTP client on computer",[228,365,366],{},"✅",[228,368,369],{},"❌ (any browser)",[210,371,372,375,377],{},[228,373,374],{},"Upload from computer",[228,376,366],{},[228,378,366],{},[210,380,381,384,386],{},[228,382,383],{},"Download to computer",[228,385,366],{},[228,387,366],{},[210,389,390,393,396],{},[228,391,392],{},"Encryption",[228,394,395],{},"❌ (FTP)",[228,397,398],{},"❌ (HTTP)",[210,400,401,404,406],{},[228,402,403],{},"Works with FileZilla, Finder, Cyberduck",[228,405,366],{},[228,407,408],{},"❌",[210,410,411,414,416],{},[228,412,413],{},"Works in Android TV \u002F Chromebook browser",[228,415,408],{},[228,417,366],{},[23,419,421],{"id":420},"port-blocking-issues","Port Blocking Issues",[10,423,424],{},"Default router settings rarely block port 2221 on LAN. If you see \"connection refused\":",[28,426,427,430,437,440],{},[31,428,429],{},"Check that AnExplorer's FTP Server is actually running (visible in notification bar)",[31,431,432,433,436],{},"Try changing the port to ",[58,434,435],{},"21"," trong cài đặt Máy chủ FTP",[31,438,439],{},"Kiểm tra tính năng tối ưu hóa pin của Android - chế độ pin quá mạnh có thể giết chết máy chủ",[31,441,442],{},"Trên một số thiết bị Android 12+, hãy luôn bật màn hình hoặc đặt khóa chế độ thức một phần",[23,444,446],{"id":445},"hướng-dẫn-liên-quan","Hướng dẫn liên quan",[176,448,449,455,460,466],{},[31,450,451],{},[17,452,454],{"href":453},"\u002Fvi\u002Fnetwork\u002Fftp","Kết nối với Máy chủ FTP (với tư cách là máy khách)",[31,456,457],{},[17,458,459],{"href":19},"Chuyển không dây từ Android sang PC",[31,461,462],{},[17,463,465],{"href":464},"\u002Fvi\u002Ftransfer\u002Fandroid-to-mac","Chuyển từ Android sang Mac",[31,467,468],{},[17,469,470],{"href":341},"Kết nối thiết bị — Máy chủ HTTP dành cho trình duyệt",[23,472,474],{"id":473},"cài-đặt","Cài đặt",[10,476,477],{},[17,478,482],{"href":479,"rel":480},"https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=dev.dworks.apps.anexplorer",[481],"nofollow","Cài đặt AnExplorer",{"title":136,"searchDepth":484,"depth":484,"links":485},2,[486,487,488,489,490,491,492,493,494,495],{"id":25,"depth":484,"text":26},{"id":69,"depth":484,"text":70},{"id":139,"depth":484,"text":140},{"id":170,"depth":484,"text":171},{"id":201,"depth":484,"text":202},{"id":310,"depth":484,"text":311},{"id":334,"depth":484,"text":335},{"id":420,"depth":484,"text":421},{"id":445,"depth":484,"text":446},{"id":473,"depth":484,"text":474},"AnExplorer có thể chạy máy chủ FTP trên điện thoại của bạn, cho phép mọi máy PC, Mac hoặc Linux duyệt và truyền tệp qua Wi-Fi. Không có cáp USB, không có phần mềm bổ sung trên máy tính. Hướng dẫn thiết lập đầy đủ.","md",{},true,"\u002Fvi\u002Fnetwork\u002Fftp-server",{"title":5,"description":496},"vi\u002Fnetwork\u002Fftp-server","6pXimZM5xqRROkXFvyE0nrTQzSrrYVPfI7KPF_7vk44",{"id":505,"title":506,"body":507,"description":733,"extension":497,"meta":734,"navigation":499,"path":745,"seo":746,"stem":747,"__hash__":748},"content\u002Fvi\u002Fnetwork.md","Hướng dẫn truy cập tệp mạng Android cho SMB, FTP, SFTP & NAS",{"type":7,"value":508,"toc":727},[509,512,516,562,566,593,597,606,610],[10,510,511],{},"AnExplorer kết nối với mọi giao thức tệp mạng chính — với tư cách vừa là máy khách (kết nối với máy chủ) vừa là máy chủ (chạy máy chủ từ điện thoại của bạn).",[23,513,515],{"id":514},"kết-nối-với-máy-chủ-từ-xa-máy-khách","Kết nối với Máy chủ từ xa (Máy khách)",[176,517,518,524,529,536,541,548,555],{},[31,519,520,523],{},[17,521,522],{"href":453},"FTP"," — kết nối với máy chủ FTP trên NAS, bộ định tuyến hoặc PC",[31,525,526,528],{},[17,527,325],{"href":324}," — truyền tệp dựa trên SSH an toàn; VPS, NAS, Raspberry Pi",[31,530,531,535],{},[17,532,534],{"href":533},"\u002Fvi\u002Fnetwork\u002Fsmb","SMB"," — Chia sẻ tệp Windows, Samba; nhanh nhất để truy cập mạng LAN NAS",[31,537,538,540],{},[17,539,330],{"href":329}," — Nextcloud, ownCloud, pCloud, Synology; Thân thiện với HTTPS",[31,542,543,547],{},[17,544,546],{"href":545},"\u002Fvi\u002Fnetwork\u002Fnas","NAS"," — hướng dẫn thiết lập dành riêng cho từng thương hiệu cho Synology, QNAP, WD, TrueNAS",[31,549,550,554],{},[17,551,553],{"href":552},"\u002Fvi\u002Fnetwork\u002Fdlna","DLNA \u002F UPnP"," — duyệt thư viện máy chủ phương tiện (Plex, Jellyfin, Kodi)",[31,556,557,561],{},[17,558,560],{"href":559},"\u002Fvi\u002Fnetwork\u002Fmedia-server","Máy chủ đa phương tiện"," — truy cập Plex, Jellyfin, Emby, Kodi từ điện thoại của bạn",[23,563,565],{"id":564},"chạy-máy-chủ-từ-điện-thoại-của-bạn","Chạy máy chủ từ điện thoại của bạn",[176,567,568,573,580,587],{},[31,569,570,572],{},[17,571,50],{"href":500}," — khởi động máy chủ FTP trên Android; kết nối từ Windows, Mac, Linux",[31,574,575,579],{},[17,576,578],{"href":577},"\u002Fvi\u002Fnetwork\u002Fsftp-server","Máy chủ SFTP"," — máy chủ SSH được mã hóa trên điện thoại của bạn",[31,581,582,586],{},[17,583,585],{"href":584},"\u002Fvi\u002Fnetwork\u002Fwebdav-server","Máy chủ WebDAV"," — máy chủ tệp có thể truy cập được bằng trình duyệt; hoạt động với macOS Finder và Windows",[31,588,589,592],{},[17,590,591],{"href":341},"Kết nối thiết bị"," — máy chủ HTTP tích hợp; duyệt các tập tin điện thoại trong bất kỳ trình duyệt PC nào",[23,594,596],{"id":595},"quyền-riêng-tư-và-quyền-truy-cập-từ-xa","Quyền riêng tư và quyền truy cập từ xa",[176,598,599],{},[31,600,601,605],{},[17,602,604],{"href":603},"\u002Fvi\u002Fnetwork\u002Fopenvpn-share","VPN + Chia sẻ tệp"," — WireGuard, OpenVPN, Tailscale để truy cập mạng LAN từ xa",[23,607,609],{"id":608},"tham-khảo-nhanh-về-giao-thức","Tham khảo nhanh về giao thức",[204,611,612,625],{},[207,613,614],{},[210,615,616,619,622],{},[213,617,618],{},"Giao thức",[213,620,621],{},"Cảng",[213,623,624],{},"Tốt nhất cho",[223,626,627,636,647,657,667,677,688,697,707,717],{},[210,628,629,631,633],{},[228,630,522],{},[228,632,435],{},[228,634,635],{},"NAS kế thừa, bộ định tuyến",[210,637,638,641,644],{},[228,639,640],{},"FTPS",[228,642,643],{},"990",[228,645,646],{},"FTP với TLS",[210,648,649,651,654],{},[228,650,325],{},[228,652,653],{},"22",[228,655,656],{},"Bảo mật máy chủ từ xa, VPS",[210,658,659,661,664],{},[228,660,534],{},[228,662,663],{},"445",[228,665,666],{},"Cổ phiếu Windows, LAN NAS",[210,668,669,671,674],{},[228,670,330],{},[228,672,673],{},"80\u002F443",[228,675,676],{},"Nextcloud, kết nối đám mây",[210,678,679,682,685],{},[228,680,681],{},"DLNA",[228,683,684],{},"Tự động",[228,686,687],{},"Thư viện phương tiện",[210,689,690,692,694],{},[228,691,50],{},[228,693,115],{},[228,695,696],{},"Chia sẻ điện thoại qua mạng",[210,698,699,701,704],{},[228,700,578],{},[228,702,703],{},"2222",[228,705,706],{},"Chia sẻ điện thoại an toàn",[210,708,709,711,714],{},[228,710,585],{},[228,712,713],{},"8765",[228,715,716],{},"Chia sẻ điện thoại thân thiện với trình duyệt",[210,718,719,721,724],{},[228,720,591],{},[228,722,723],{},"8080",[228,725,726],{},"Truy cập không dây dựa trên trình duyệt",{"title":136,"searchDepth":484,"depth":484,"links":728},[729,730,731,732],{"id":514,"depth":484,"text":515},{"id":564,"depth":484,"text":565},{"id":595,"depth":484,"text":596},{"id":608,"depth":484,"text":609},"Kết nối Android với FTP, SFTP, SMB, WebDAV, NAS, DLNA và máy chủ đa phương tiện bằng AnExplorer. Đồng thời chạy các máy chủ FTP, SFTP và WebDAV trên điện thoại Android của bạn.",{"faq":735},[736,739,742],{"q":737,"a":738},"AnExplorer hỗ trợ những giao thức mạng nào?","AnExplorer hỗ trợ FTP, SFTP, SMB (chia sẻ Windows), WebDAV, DLNA\u002FUPnP, thiết bị NAS và truy cập máy chủ HTTP cục bộ. Cả hai chế độ máy khách (kết nối với máy chủ) và chế độ máy chủ (chạy máy chủ từ điện thoại Android của bạn) đều khả dụng.",{"q":740,"a":741},"AnExplorer có thể kết nối với NAS của tôi không?","Đúng. AnExplorer kết nối với tất cả các thương hiệu NAS lớn — Synology, QNAP, WD, TrueNAS — thông qua các giao thức SMB, FTP, SFTP hoặc WebDAV.",{"q":743,"a":744},"Tôi có thể duyệt các tập tin điện thoại của mình từ máy tính không?","Đúng. Tính năng Kết nối thiết bị biến điện thoại của bạn thành máy chủ HTTP cục bộ. Mở bất kỳ trình duyệt nào trên PC trên cùng một mạng Wi-Fi và truy cập tất cả các tệp trên điện thoại của bạn - không cần phần mềm trên máy tính.","\u002Fvi\u002Fnetwork",{"title":506,"description":733},"vi\u002Fnetwork","-m7jNU14Ng73ITkkW7Qan8jGSUK6Nn14h6Pe_6MmKH0",1776828514269]