To connect your Android phone to a NAS or shared Windows folder, open AnExplorer, add a new SMB network connection, enter your NAS's IP address along with your username and password, and connect. Both your phone and the NAS must be on the same WiFi network. Once connected, you can browse, stream, copy, and manage files on your NAS directly from your phone as if they were local files.
What is SMB?
SMB (Server Message Block), also called CIFS (Common Internet File System), is the standard network file sharing protocol used by:
- NAS devices: Synology, QNAP, Western Digital, Asustor, TerraMaster
- Windows PCs: Built-in folder sharing
- macOS: Built-in file sharing
- Linux: Samba server (SMB implementation)
SMB is the default protocol for local network file sharing because it is fast, supports file locking (multiple users can access files safely), integrates with system authentication, and works over standard WiFi without special configuration.
Prerequisites
Before connecting, ensure:
- Your NAS/PC and Android phone are on the same WiFi network
- SMB/File sharing is enabled on your NAS or PC
- You have a username and password for the NAS/share
- Your router is not configured to isolate wireless clients (AP isolation disabled)
Step 1: Find Your NAS IP Address
You need the NAS's local IP address. Here is how to find it:
From the NAS Itself
- Synology: DSM → Control Panel → Network → Network Interface → shows IP
- QNAP: QTS → Control Panel → Network → shows IP
- WD My Cloud: Dashboard → Settings → Network → shows IP
- Physical display: Some NAS devices show their IP on an LCD screen
From Your Router
- Open a browser and go to your router's admin page (usually
192.168.1.1or192.168.0.1) - Log in with your router admin credentials
- Find "Connected Devices," "DHCP Client List," or "Device List"
- Locate your NAS by name or MAC address — note its IP address
From a Computer on the Same Network
- Windows: Open File Explorer → Network → your NAS should appear. Right-click → Properties shows the IP
- macOS: Open Finder → Network → your NAS appears. Use Terminal:
ping nasname.local - Any OS: Open terminal/command prompt:
arp -ashows all devices on your network
Typical NAS IP addresses look like: 192.168.1.100, 192.168.0.50, 10.0.0.15
Step 2: Enable SMB on Your NAS/PC
Synology NAS
- Open DSM (your NAS web interface)
- Go to Control Panel → File Services → SMB
- Check Enable SMB service
- Set Maximum SMB protocol to SMB3 for best performance
- Apply changes
QNAP NAS
- Open QTS (NAS web interface)
- Go to Control Panel → Network & File Services → SMB/CIFS
- Enable the SMB service
- Apply
Windows PC (Share a Folder)
- Right-click the folder you want to share → Properties → Sharing tab
- Click Share → add users who should have access → click Share
- Note the network path shown (e.g.,
\\DESKTOP-ABC123\SharedFolder) - Ensure Network Discovery is on: Settings → Network & Internet → Advanced sharing settings → Turn on network discovery
macOS (Share a Folder)
- System Settings → General → Sharing → File Sharing → toggle ON
- Click the i next to File Sharing → add folders under Shared Folders
- Add users under Users with read/write or read-only access
- Ensure Share files and folders using SMB is checked in Options
Step 3: Create Access Credentials
On a NAS
Most NAS devices require you to create a user account:
- Open your NAS admin panel
- Navigate to User Management or Access Control
- Create a new user (or use an existing one)
- Assign read or read/write permission to specific shared folders
- Note the username and password — you will enter these in AnExplorer
On Windows
The share uses your Windows user credentials:
- Username: your Windows account name (or Microsoft account email)
- Password: your Windows login password
- For simpler access, create a dedicated local account: Settings → Accounts → Other users → Add account
Guest/Anonymous Access
Some shares allow guest access (no credentials):
- Leave username and password blank in AnExplorer
- Or enter "guest" as username with no password
- Guest access typically provides read-only access
- Not recommended for NAS devices storing personal data
Step 4: Connect in AnExplorer
- Open AnExplorer
- Tap the + button or navigate to the Network section
- Select SMB (or LAN/Network Share) as the connection type
- Fill in the connection details:
- Server/Host: Your NAS IP address (e.g.,
192.168.1.100) - Port: 445 (default SMB port — usually do not change)
- Username: Your NAS/PC account username
- Password: Your account password
- Share (optional): Specific share name like
media,public,homes - Domain (optional): Usually leave blank; corporate networks may require a domain name
- Server/Host: Your NAS IP address (e.g.,
- Tap Connect or Save & Connect
Browsing Shares
If you left the share name blank, AnExplorer shows all available shares on that server. Common shares:
homesorhome— user home directoriespublic— publicly accessible folder (often guest-accessible)media— media library folderbackup— backup destination folder- Custom shares you created on the NAS
Tap a share to browse its contents.
Working with Files Over SMB
Browsing and Streaming
- Navigate folders as normal — SMB shares appear like local directories
- Open photos for viewing directly
- Tap videos to stream them (AnExplorer opens your default video player)
- Open documents (PDFs, office files) directly from the NAS
Copying Files Between Phone and NAS
Phone → NAS (Upload):
- Select files in local storage
- Copy or Cut
- Navigate to your SMB connection → target folder
- Paste
NAS → Phone (Download):
- Navigate to your SMB connection
- Select files
- Copy
- Navigate to local storage → target folder
- Paste
Performance Tips
- Transfer speeds on good WiFi (5 GHz AC/AX): 30-80 MB/s typical
- 2.4 GHz WiFi: 5-15 MB/s (significantly slower)
- Wired NAS connection (server-side) improves server I/O
- Large files transfer faster than many small files due to protocol overhead
- Close other bandwidth-heavy apps during large transfers
SMB Version Compatibility
SMB has multiple versions with different capabilities:
| Version | Speed | Security | Supported By |
|---|---|---|---|
| SMB1 | Slow | Poor (insecure) | Legacy devices only |
| SMB2 | Good | Moderate | Windows 7+, older NAS firmware |
| SMB3 | Best | Strong (encryption) | Windows 8+, modern NAS firmware |
AnExplorer supports SMB2 and SMB3. If your NAS only supports SMB1 (very old firmware), you may need to update the NAS firmware. SMB1 has critical security vulnerabilities and should be avoided.
Troubleshooting
"Unable to connect" or "Connection timed out"
- Verify same network: Check that phone WiFi and NAS are on the same subnet (same router)
- Check IP address: Ping the NAS from a computer to verify it is reachable
- AP isolation: Some routers isolate WiFi clients from each other and from wired devices — disable this in router settings (often called "AP Isolation" or "Client Isolation")
- NAS is sleeping: Some NAS devices sleep to save power — access the NAS web interface first to wake it up
- Firewall: Check NAS firewall settings — ensure port 445 is allowed from local network
"Access denied" or "Authentication failed"
- Double-check username and password (case-sensitive)
- Verify the user account has permission to access the specific share
- On Windows: ensure the network profile is set to "Private" (not Public)
- Try connecting with the NAS admin account to rule out permission issues
- Some NAS devices require the username in format
NASname\username
Connected but folder list is empty
- The share may be empty (check from another device)
- Your user account may lack list/read permission on the share
- Hidden shares (ending with $) do not appear in browse lists — type the share name explicitly
Slow transfer speeds
- Switch to 5 GHz WiFi if available (2.4 GHz is much slower)
- Move closer to the WiFi router
- Ensure no other devices are saturating the network
- Check NAS disk health — failing drives cause slow reads
- For many small files, consider zipping them first and transferring the archive
Connection drops frequently
- WiFi signal may be unstable — check signal strength
- NAS may be configured to disconnect idle connections — keep the session active
- Power saving settings on your phone may kill AnExplorer's background network activity — disable battery optimization for AnExplorer
Related Guides
- Connect to FTP Server — alternative protocol for remote servers
- Backup Phone to NAS — automated backup over SMB
- Cast Media to TV — stream NAS content to your TV
- Slow File Transfer — optimize network transfer speeds