After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome

Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031

Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.2.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38083
Feedback is welcome

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Check if remote connection is active

Here you will find help for frequently asked questions as well as for your specific question
Post Reply
casiosmu
Posts: 5
Joined: 2023-02-28 09:22

Check if remote connection is active

Post by casiosmu »

Hello,

is there any api or command line to check at the server side, if currently there is one or more remote support session established?
I need to monitor this from an other program.

Thank you.
Sebastian
User avatar
rvk
8
8
Posts: 10
Joined: 2022-06-23 08:49

Re: Check if remote connection is active

Post by rvk »

You can use the netstat command for that.
Open a command prompt (start > cmd > enter)
Type in

Code: Select all

netstat -an | findstr :5900
You see a listening process (LISTEN) and zero, one or more ESTABLISHED lines for each open connection.
(assuming you have the server listening on port 5900.

If you only want the established connection you can do

Code: Select all

netstat -an | findstr :5900 | findstr ESTABLISHED
Post Reply