Solved

I'm unable to connect to a VNC server on a different subnet

Posted on 2008-10-07
5
450 Views
Last Modified: 2013-11-30
We have a pc running VNC (on Subnet A) and we can connect without issue while on subnet B.  If I try to connect from subnet C the VNCViewer immediately closes without an error.  This happens regardless of the client machine we try to use.  I can ping/tracert to the host PC running VNC Server from any subnet, however the problem subnet C has 1 extra hop.  I've checked the FW and do not see any issues.  If I run a port scan from Subnet C it shows ports 5800 & 5900 as listening, I cannot telnet on either port to the host computer from subnet C.

Thanks!
0
Comment
Question by:anstechnical
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 33

Expert Comment

by:MikeKane
ID: 22662587
To test the connectivity you can telnet to port 5900 on the target IP.    

You should see an RFB 300.300 as a reply.  

Do you get this issue from any PC or IP on subnetC.  

I would say this is a port/ip issue on the firewall, that is what it sounds like.  Double check the firewalls.....

The Extra hop theory doesn't fly.   I use VNC acroos multiple hops without an issue.    


0
 

Author Comment

by:anstechnical
ID: 22663460
The telnet doesn't work on port 5900.  This issue is from any PC/IP on Subnet C.
I'll take another peak at the FW.
0
 
LVL 33

Assisted Solution

by:MikeKane
MikeKane earned 50 total points
ID: 22663923
If you can't telnet to 5900 then you certainly can't use the VNC services.  

If you can ICMP to it, that tells me your routing is ok, but since TCP 5900 seems to not get through, that leads me to beleive you have a firewall or Access list of some sort between you and that box.  
0
 

Accepted Solution

by:
anstechnical earned 0 total points
ID: 22670325
The VNC host had a subnet restriction for inbound connections.  I just needed to add subnet C.
0
 
LVL 33

Expert Comment

by:MikeKane
ID: 22670368
Very good, glad its fixed.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As an IT person for a call center we are always looking for tools to make our jobs easier. Well I found the ultimate application for the job. SmartCode VNC Manager gets the job done. Its easy to get up and running just run the wizard to pul…
Haven’t we all been there – Mom (or Grandma) needs help on her computer, so calls her IT son (or grandson) for help.  Wouldn’t it be so much easier to just remotely connect to her computer and fix the thing rather than trying to go through it on the…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question