How to Show a Windows App in a Browser on Your LAN
In this article
This guide shows you how to make a single Windows application accessible through a web browser on your local area network (LAN). Instead of installing the app on every computer, you can run it on one Windows machine and let others open it in Chrome, Edge, or Firefox. This is useful for sharing a legacy program, a custom internal tool, or a database front-end with colleagues without giving them remote desktop access. You will need a Windows PC (the host), the app you want to share, and the ability to install a small free tool. The method uses a web server that runs the app in a browser tab, so the app must be able to run in a graphical window (not a command-line tool).
What You'll Need
- A Windows PC (Windows 10 or 11) that will stay on and connected to your LAN.
- The Windows application you want to share (any standard .exe or .msi installable app).
- Administrator rights on that PC to install software and configure firewall rules.
- A free tool called Apache Guacamole (or a simpler alternative like RDP Wrapper or ThinBridge – but Guacamole is the most reliable for single-app display).
- Optional: a static IP address for the host PC so the URL doesn’t change.
Step-by-Step
- Install Apache Guacamole on the host Windows PC. Download the latest Guacamole server installer from the official Apache project page. Run the installer and follow the prompts. Choose “Guacamole Server” and “Guacamole Client” components. The installer will set up a Tomcat web server and a database (it uses a built-in H2 database for demo, but for production you can use MySQL – for a simple LAN setup, the default is fine).
- Configure Guacamole to use RDP (Remote Desktop Protocol). Guacamole works by connecting to a remote desktop session. On the host Windows PC, enable Remote Desktop: go to Settings > System > Remote Desktop and turn it on. Make sure “Keep my PC awake” and “Make my PC discoverable” are checked.
- Create a Guacamole connection that launches only the target app. After installation, open the Guacamole web interface (usually at
http://localhost:8080/guacamole). Log in with the default credentials (admin/guacadmin – change them later). Click the gear icon, then “Connections” and “New Connection”. Name it (e.g., “InventoryApp”). Set the protocol to RDP. Under “Network”, enter the host PC’s IP address (use127.0.0.1if you are testing locally, but for LAN access use the actual LAN IP). Under “Authentication”, enter the Windows username and password for the account that runs the app. Under “Remote Desktop” settings, find the “Initial Program” field and type the full path to the app’s executable (e.g.,C:\Program Files\MyApp\app.exe). Save the connection. - Test the connection locally. In the Guacamole web interface, click on the new connection tile. A browser tab should open showing a remote desktop session that immediately launches your app. If it works, you’re ready for LAN access.
- Configure the Windows firewall to allow Guacamole. By default, Guacamole uses port 8080 (HTTP) and 8443 (HTTPS). Open Windows Defender Firewall with Advanced Security. Create an inbound rule to allow TCP ports 8080 and 8443 for private networks. Also ensure Remote Desktop (port 3389) is allowed – Guacamole needs to connect to it locally.
- Find the host PC’s LAN IP address. Open Command Prompt and type
ipconfig. Look for the IPv4 address under your active network adapter (e.g., 192.168.1.10). Note this down. - Access from another device on the LAN. On any computer, tablet, or phone connected to the same network, open a web browser and go to
http://[host-IP]:8080/guacamole. Log in with the Guacamole credentials (not the Windows credentials). Click the connection tile and the app will appear in the browser. - Set a static IP (optional but recommended). To avoid the IP changing after a reboot, set a static IP in Windows: go to Settings > Network & Internet > Change adapter options, right-click your adapter, select Properties, then IPv4, and assign a fixed IP like 192.168.1.50.
Common Mistakes
- Forgetting to enable Remote Desktop. Guacamole relies on RDP. If it’s off, the connection fails with a “Connection refused” error.
- Using “localhost” as the host address for LAN access. If you set the connection to use 127.0.0.1, other computers won’t be able to connect to that address – it will point to their own machine.
- Blocking the ports in the firewall. Windows often prompts to allow Java or Tomcat. If you clicked “Cancel”, the ports stay blocked. Double-check the inbound rules.
- Not specifying the full path to the app. If the “Initial Program” field is empty or has a typo, the session opens but the app doesn’t launch. Use the exact path, including the .exe extension.
- Using the wrong Windows account. The app must run under a user account that has permission to launch it. If the account is an administrator, that’s fine. Avoid using a Microsoft account with 2FA – it may block the RDP login.
Tips
- For better security, change the default Guacamole admin password immediately after first login.
- If the app requires a specific screen resolution, set it in the Guacamole connection settings (e.g., 1920x1080).
- Use HTTPS (port 8443) if you’re concerned about credentials being sent in plain text on your LAN. Guacamole can generate a self-signed certificate.
- To make the URL easier to remember, create a hosts file entry on client machines (e.g.,
192.168.1.50 appserver) and then browse tohttp://appserver:8080/guacamole. - If the app is a 64-bit program and the host is 64-bit, everything works. For 32-bit apps, they run fine under 64-bit Windows.
- Consider setting the host PC to never sleep: Settings > System > Power & sleep and set to “Never” for both battery and plugged-in.
Troubleshooting
- “Connection refused” error in the browser: Check that Guacamole is running. Look for the Tomcat service in Windows Services (it should be named “Apache Tomcat”). If it’s stopped, start it. Also verify the firewall allows port 8080.
- Blank screen after clicking the connection: The RDP session may be stuck. Close the tab, wait a few seconds, and try again. If it persists, restart the Guacamole service and try a different RDP resolution.
- App doesn’t launch: Go back to the connection settings and re-check the “Initial Program” path. Also test if the app runs when you log in manually via Remote Desktop. If it does, the path is correct.
- Login fails with “Invalid credentials”: Make sure you are using the Windows account password, not a PIN. If the account is a Microsoft account, you may need to set a local password or use an app password.
- Works locally but not from other devices: The host IP might be wrong. Use
ipconfigto confirm. Also check that both devices are on the same subnet (e.g., both 192.168.1.x). - Slow performance: RDP over LAN is usually fast, but if the app is graphics-heavy, reduce the screen resolution or disable desktop wallpaper in the Guacamole connection settings.
Frequently Asked Questions
Do I need to install anything on the client computers?
No. Clients just need a modern web browser (Chrome, Edge, Firefox, Safari). No Java or plugins are required.
Can I share more than one app?
Yes. Create multiple connections in Guacamole, each with a different “Initial Program” path. Users will see a list of tiles to choose from.
Will the app run as if it were local?
Mostly yes. The app runs on the host PC, so it has full access to that machine’s files and hardware. The browser shows the screen in real-time. Some 3D or high-motion apps may feel laggy.
Is this safe to expose to the internet?
No. This guide is for LAN only. If you expose Guacamole to the internet, you risk unauthorized access. Use a VPN or SSH tunnel if you need remote access.
What if my app is a UWP (Windows Store) app?
UWP apps can be launched via RDP, but the “Initial Program” path is tricky. You may need to use the app’s AppUserModelID. It’s simpler to use a desktop app.
Can I use this to share a game?
Technically yes, but games with high frame rates will be unusable due to RDP’s screen capture limits. It’s better to use a dedicated game streaming solution.