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

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- 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

Listening port

Single Click discussions / bugs
Post Reply
Dio
Posts: 4
Joined: 2006-10-19 08:07

Listening port

Post by Dio »

Hi,

Can someone help me, and say how to change listening port. I am startini vncviewer in listening, but default port is 5500. How to change it for example to 5901? I tried to start vncviewer via command line like this: vncviewer -listen 5901, but it just opens me a new connection :/

So please help me. Good day
Dio
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

Re: Listening port

Post by bevtech »

you need to change the helpdesk.txt file

:5500 change to :5901

Save the file recreate the singleclick exe then try it..:)

Make sure that viewer is listening to port 5901 and that any firewalls have that port open if you are using this via the internet..;)
Bevtech

Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2

User not developer..;)
Dio
Posts: 4
Joined: 2006-10-19 08:07

Re: Listening port

Post by Dio »

Hmm... You understood me wrong. Look i am the man who gets all tasks from that custom sc connection, but in that file i wrote 5901 port. So i need to use it, but my vncviever is listening 5500 port. O cant change port on that custom file , because of secury policies. So i have to make viewer start and listen on not default 5500 port :///

As you said be sure your viewer is listening 5901. It does not, by default it is 5500, that is what i want to change :/
Last edited by Dio on 2006-11-17 14:00, edited 1 time in total.
jimmyCTS
Posts: 1
Joined: 2007-01-17 23:54

Re: Listening port

Post by jimmyCTS »

Just encountered same issue and looking for solution found your post... here's the answer I just figured out. There's probably another way to do this. If you Click on Start then navigate to the Viewer (Listening Mode)... right click on it and choose properties.
You'll see the -listen at the end... just enter a space and your desired port number. That's it.
for example the shortcut is now:
"C:\Program Files\UltraVNC\vncviewer.exe" -listen 5502

Enjoy!
Jimmy
Post Reply