Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- 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

Automatic closure of repeater port

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
winmansoft
8
8
Posts: 21
Joined: 2011-11-09 06:48

Automatic closure of repeater port

Post by winmansoft »

We use following
1. Compiler - ChunkVNC 3.3.1
2. Repeater - UltraVNC 2011 V2.00
3. Hosting - Goddady Virtual dedicated server.
Some times "Listen port server" of repeater closes. If we exit the repeater and re-open it, port will be available. Till what time port will be open is not certain. Some times it gets closed within a minute and some times after one day. Some times it will not close for 2,3 days also. We want know what are the possible reasons for this closure of port in repeater. We have removed antivirus and switched off Windows Firewall also. Still problem occurs. Please help.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Automatic closure of repeater port

Post by supercoe »

Another user was having this problem, it turned out they had the repeater setup incorrectly.
https://forum.ultravnc.net/viewtopic.php?f=50&t=29035

Have you tried using the repeater included with 3.3.1?
Is the repeater set to mode 2 only?

Image
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
winmansoft
8
8
Posts: 21
Joined: 2011-11-09 06:48

Re: Automatic closure of repeater port

Post by winmansoft »

Thanks for the reply,

We use the repeater 3.3.1 and it is set to mode 2 only.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Automatic closure of repeater port

Post by supercoe »

Unless the repeater is crashing the only thing I can think of is that it's possibly a problem with the hosting provider.
Sorry I can't think of anything else at this point.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Automatic closure of repeater port

Post by B »

On re-examination, this same user started both threads. He or she is just not having much luck with GoDaddy and the repeater... :(
winmansoft
8
8
Posts: 21
Joined: 2011-11-09 06:48

Re: Automatic closure of repeater port

Post by winmansoft »

We have observed strange behavior yesterday when one customer opens instant support repeater port was getting closed and when that customer closed instant support repeater port was opened itself. it happened two three times. Any reasons for this behavior?. there is no antivirus
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Automatic closure of repeater port

Post by supercoe »

Sorry I don't have an explanation for you on this one, you are the first I've heard of such a thing.
Are you still using Godaddy VPS for your repeater? If so, could you please try a different provider just so we know that isn't the problem?
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
winmansoft
8
8
Posts: 21
Joined: 2011-11-09 06:48

Re: Automatic closure of repeater port

Post by winmansoft »

If instant support opened in a System having antivirus Escan, then the repeater port closes. What is thr reason for this? If antivirus disabled then it works.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Automatic closure of repeater port

Post by B »

Oh then that explains it. The antimalware suite includes a software firewall. Just tell it that ChunkVNC is a trusted program (or disable the firewall portion, or pick a better antimalware product).

This would be a problem with ANY software firewall and ANY remote control program.
winmansoft
8
8
Posts: 21
Joined: 2011-11-09 06:48

Re: Automatic closure of repeater port

Post by winmansoft »

If instant support is opened in a System with "Escan" antivirus, then the repeater port closes. In the same system PC_helpware works. Both instant support & PC_helpware connect to same website & same repeater.(port number is also same). But only when instant support is opened, repeater's port gets closed. why?

I think we need to draw our attention to some possible bug in Instant support!
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Automatic closure of repeater port

Post by supercoe »

ChunkVNC is written in the AutoIt language which a lot of (poor) virus scanners don't like.
Not much we can do here except tell the antivirus to mark it as safe.

Just for notes if it helps:
InstantSupport makes an outgoing connection the repeater server port to make sure it's up.
Then it launches the UltraVNC server making the reverse connection.
You could try doing a manual reverse connection with the UltraVNC server to see if Eset still blocks it.
It might be a matter of removing the initial check that InstantSupport does.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Znida
Posts: 5
Joined: 2012-01-04 16:02

Re: Automatic closure of repeater port

Post by Znida »

I think i found a solution to this problem. It is when script is testing for LAN address. At least it was with mine. Using modified 3.3.1. I commented this line:

Code: Select all

	; Test WAN address first.
	;$socket = TCPConnect( TCPNameToIP( $RepeaterAddress ), $RepeaterServerPort )
	;If $socket = -1 Then $LanMode = True
and now it is connecting normally and right away. Dont know why.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Automatic closure of repeater port

Post by B »

Well yeah, that's pretty much what supercoe said. The antimalware didn't mind when VNC tried opening the socket, but it flagged InstantSupport when that AutoIT script tried doing it...
Znida
Posts: 5
Joined: 2012-01-04 16:02

Re: Automatic closure of repeater port

Post by Znida »

If this is a reply to me, I dont think my antivirus was blocking anything. It was just stuck. When I closed the program, it briefly connected to repeater...
winmansoft
8
8
Posts: 21
Joined: 2011-11-09 06:48

Re: Automatic closure of repeater port

Post by winmansoft »

well i commented the line.. still the problem persists..
if someone can come up with the right answer...
Post Reply