[SOLVED] can't connect to tightvncserver over internet..but can connect in LAN
Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
can't connect to tightvncserver over internet..but can connect in LAN
Hi,
after a lot of r&d I succeeded in getting the tightvncserver running in my mint 10 & able to connect to it from any windows or linux system over LAN using tightvncviewer. but when I try to access the server over internet(LAN is disconnected)using the same format xxxx.xxxx.xxxx.xxxx:5901, I get error as "Failed to Connect to server (xxxx.xxxx.xxxx.xxxx:1)...
what could be the possible reason for the same
after a lot of r&d I succeeded in getting the tightvncserver running in my mint 10 & able to connect to it from any windows or linux system over LAN using tightvncviewer. but when I try to access the server over internet(LAN is disconnected)using the same format xxxx.xxxx.xxxx.xxxx:5901, I get error as "Failed to Connect to server (xxxx.xxxx.xxxx.xxxx:1)...
what could be the possible reason for the same
Without details, there's no way of anyone here knowing. What kind of connection do you have? Firewalls? Proxy servers? Too many variables to guess at. First place I'd start would be your company firewalls...open the ports that you have your VNC server running on.
No firewall should come in between, as the server is directly connected to internet and I am able to ping the IP from my Laptop. But yes the client is in VPN so must have been under company firewall..I will try to access the server from Lappy when directly connected to NET & will let u know
Last edited by BHABANIPRASADPATI; 06-12-2011 at 12:40 AM.
Reason: additional info
No firewall should come in between, as the server is directly connected to internet and I am able to ping the IP from my Laptop. But yes the client is in VPN so must have been under company firewall..I will try to access the server from Lappy when directly connected to NET & will let u know
Wow...your SERVER is directly connected to the Internet, with NO FIREWALL? And what you've said makes no sense...you say there's a direct connection..then mention a VPN. If you have to VPN in to your company's network, then that means there IS some sort of barrier. If not, and you can ping it, then you should check to see which IP addresses/ranges are allowed to connect.
Server is running on Linux mint Julia & laptop is on Vista SP2.
My home system acts a server with no firewall(not configured yet and ofcourse nothing to loose) & at workplace while my LAPTOP is connected to the office LAN its under a VPN.
In the first case when I tried to access the Home PC from laptop through VPN, I could ping/ssh/sftp the home pc but could not connect to the tighvncsession. the client will show "connection Initiated" & then "Connection Failed". However when I tried connect to the tightvncserver session over ssh, it worked fine(a little bit lagging screen)
but this is not a problem when I connect my Laptop to the net & then I m directly able to connect to the tighvncserver.
So vnc over ssh somewhat solved my purpose, yet can anyone suggest why I m not able to access the vncserver through VPN..
while experimenting, everything makes sense.
Server is running on Linux mint Julia & laptop is on Vista SP2.
My home system acts a server with no firewall(not configured yet and ofcourse nothing to loose) & at workplace while my LAPTOP is connected to the office LAN its under a VPN.
In the first case when I tried to access the Home PC from laptop through VPN, I could ping/ssh/sftp the home pc but could not connect to the tighvncsession. the client will show "connection Initiated" & then "Connection Failed". However when I tried connect to the tightvncserver session over ssh, it worked fine(a little bit lagging screen)
but this is not a problem when I connect my Laptop to the net & then I m directly able to connect to the tighvncserver.
So vnc over ssh somewhat solved my purpose, yet can anyone suggest why I m not able to access the vncserver through VPN..
Ok, again, you need to know the details of the company/office network. YOU may not have a firewall at home, but your COMPANY probably does. THAT firewall is probably blocking the port. SSH/SFTP both run over the 'standard' SSH port of 22..pings are ICMP requests and may be allowed (although it's dangerous). VNC is a different port...the fact that you can use it over SSH, but not 'directly', tells you it's a firewall issue.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.