Quick answer
Use SMB when VLC should browse a named file share with account permissions. Use UPnP or DLNA when a media server publishes a browsable catalog. Both normally require the player and server to share a trusted local network.
Understand the task
Input
A trusted local network, a server offering SMB or UPnP, and authorized credentials if required.
VLC action
VLC either reads files from a share or browses a media catalog advertised by the server.
Expected result
Media opens with permissions intact or the fault is narrowed to discovery, login, path or throughput.
Tip: Use a read-only media account so a lost player credential cannot modify the library.
Connect to the right kind of media server
Identify whether the server exposes an SMB file share or a UPnP/DLNA catalog; a NAS may offer both.
Connect VLC and the server to the same trusted LAN and leave guest-network isolation or VPN routing out of the first test.
For SMB, enter the server name or private address and share name, then use a least-privilege account allowed to read that folder.
For UPnP or DLNA, open Local Network or Universal Plug'n'Play and wait for the server to publish its catalog.
If discovery fails, test the server by private IP or hostname and confirm its sharing service and firewall are enabled only on the LAN.
Play a small file before testing high-bitrate video, and store a password only on a device you trust and control.
Choose the correct local-network protocol
| Server offers | Use in VLC | Authentication model |
|---|---|---|
| Named folders and files | SMB | Server account and share permissions |
| Published media catalog | UPnP or DLNA | Often LAN discovery and server policy |
| Direct stream URL | Open Network Stream | Defined by the stream service |
Limits and recovery
- Never port-forward SMB from a home NAS to the public internet.
- Remembered passwords are convenient but increase risk on shared or portable devices.
Related decisions
When the server gives you a direct URL, switch to the HTTP and RTSP stream guide.
To organize stable network paths, use the VLC playlist and library workflow.
For a television interface, continue with VLC setup on Android TV.
Sources and corrections
Official VLC for Android local-network guide >Official VLC desktop documentation >Menus can differ by VLC version and operating system. If a verified current build behaves differently, report the exact version and platform.