Connecting to Desktop¶
Connect your mobile device to the TUI Parser service running on your desktop.
Prerequisites¶
Before connecting:
- TUI Parser must be running on your desktop
- Both devices must be on the same network
- Port 9600 must be accessible (check firewall settings)
Starting the TUI Parser¶
On your desktop, start the TUI Parser service:
You should see:
TUI Parser Debug Console
========================
Server running on :9600
WebSocket: ws://localhost:9600/ws
Debug UI: http://localhost:9600/
Connected clients: 0
Active sessions: 0
Finding Your Desktop IP¶
Note this IP address for configuring the mobile app.
Configuring the Mobile App¶
- Open the PlexusOne Mobile app
- Tap the Settings icon (gear)
- Enter the server address:
- Host: Your desktop's IP address (e.g.,
192.168.1.100) - Port:
9600(default) - Tap Connect
Connection Status¶
The app shows connection status in the header:
| Status | Meaning |
|---|---|
| Connected | Successfully connected to TUI Parser |
| Connecting | Attempting to establish connection |
| Disconnected | No active connection |
| Error | Connection failed (check settings) |
Troubleshooting¶
Cannot Connect¶
Check TUI Parser is running:
Should return the debug HTML page.
Check network connectivity:
Check firewall:
Connection Drops¶
WebSocket connections may drop due to:
- Network changes (WiFi to cellular)
- Device sleep mode
- TUI Parser restart
The app will attempt to reconnect automatically.
No Sessions Visible¶
If connected but no sessions appear:
- Check that tmux sessions exist:
tmux list-sessions - Verify TUI Parser detected them in the debug console
- Pull down to refresh the session list
Security Considerations¶
Local Network Only
The TUI Parser does not implement authentication. Only run it on trusted networks.
Recommendations:
- Do not expose port 9600 to the internet
- Use a VPN for remote access
- Consider SSH tunneling for secure remote connections
SSH Tunnel (Advanced)¶
For secure remote access:
# On your mobile device (requires Termux or similar)
ssh -L 9600:localhost:9600 user@desktop-ip
# Then connect to localhost:9600 in the app
Multiple Devices¶
Multiple mobile devices can connect to the same TUI Parser simultaneously. All connected clients receive the same session updates.
Next Steps¶
- Mobile Overview - Learn about mobile features
- WebSocket Protocol - Technical protocol details