Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

DHCP question

Post Reply
rocaliu
Posts: 3
Joined: 2004-05-12 06:53

DHCP question

Post by rocaliu »

hi all,
I am a newbie to this forum.and I want to remote control my office computer by ultravnc at home.the computer in my home is the viewer and the office computer is the server.
because my home ip is a dynamic ip.I have writen a small program to get the viewer ip.I hope that when I open my home computer and connect it to the internet,this program which run on the server can get my ip.
And Then I don't know how to run the vnc server and add my ip as client automatically.
Can I do it??

Edit: Changed the title of the thread. ;)
Leonard

dyndns.org

Post by Leonard »

try out dyndns.org or one of the other free dynamic IP address "publishers."
rocaliu
Posts: 3
Joined: 2004-05-12 06:53

Post by rocaliu »

The dynamic ip i can get it from a program.Then i want to add this ip as client by my code.not by click the tray icon and so on. How to do it? Thank you very much:)
Leonard

IMHO Hardcoding is bad

Post by Leonard »

Use the DNS name instead of the IP address.

Do yourself, and IMHO everyone else for that matter, a favor do not hardcode things like IP addresses use dynamic DNS and use the FQDN instead of the IP address.
rocaliu
Posts: 3
Joined: 2004-05-12 06:53

Re: IMHO Hardcoding is bad

Post by rocaliu »

Leonard wrote:Use the DNS name instead of the IP address.

Do yourself, and IMHO everyone else for that matter, a favor do not hardcode things like IP addresses use dynamic DNS and use the FQDN instead of the IP address.

yes .I have use this method and have got the ip(for example the view machine ip is 10.77.0.53).and the view machine has run "Listen Mode".
Then I want to do these things in my program(it is on the server machine):
launch the ultravnc server.
add client 10.77.0.53
but i don't know how to do ,it seems that ultravnc do not support server run "add client" in command line??

Thank you
Leonard

Try this

Post by Leonard »

1. run winvnc as a service.

2. Run "vncviewer /listen [portnumber]"

3. run "winvnc -connect [IP or FQDN]"

4, if step was not performed before step 3 nothing will happen.
Post Reply