![]() ![]() What does it show listening on 5901?ĭoes not matter firewall at your location, or firewall at other location if you can ssh then you can tunnel through this ssh tunnel and hit the remote machine vnc. ![]() Does not matter where you currently at!!Ĭan you ssh to your google compute machine? If so vnc is listening on what port? 5901? On what IP? Its public IP, its loopback, all of them? from your ssh connection to your google compute box do a netstat or sockstat for your listening ports. Huh? In one sentence you say you can not get to your google compute machine from your univ, then you say your trying to avoid going there - go where? Google compute? "And yes I am not trying to circumvent my univ network. And yes I am not trying to circumvent my univ network. If this doesn't form a correct picture do let me know, I am noob in this so I don't know how to do this stuff exactly. Opened putty -> loaded normal ssh configuration file ->, then in tunnels option entered source port as 5901 and destination as localhost:5901 or even tried this "server external ip address:5901"Īnd -> then opened the vnc viewer entered, localhost:5901 or server ip address:5901 and then tried to connect but failed again. I tried all types of things, accessed log files of vncserver find out what port its running on, even examined the process and tcp connections using netstat ,everything was normal only it wasn't listening on that port.(nc command never returned me RFB as a response)Ģ) I tried tunneling as per shown in videos When port number was changed I typed same command with different port number say nc 35549 , I got reply as connection timed out or refused. 5901 I get a reply as RFB 03.something (which means my vnc is working fine on ip:5901) The proof is that when I netcat i.e.when I type in my centos 7 terminal nc 189.134. It changed , but it gave me strange results, like when vncserver was actually running it wasn't listening on that particular port So I watched few videos on that but it doesn't seem to help (maybe I am doing something wrong) ,Here are few things that I tried and failedġ) Changed the vncserver port from 5900 to some random port value 3400 etc (taken into account the consequences such as adding new port to firewall,etc) I saw that through ssh tunnel we can tunnel our vnc connection. Going to university network center is an option but its the last one. Now this is surely some port blocking or firewall, mostly port 5900 I guess. But is fine on any external net such as cellular data or dongle. Then tried to take access by the vnc viewer, vnc viewer fails on my university network. Thus, I installed tiger vnc server on my remote server. In order to take graphical access I need vnc access. I can access the centos 7 remotely via ssh connection in Putty. I have installed centos 7 on my remote server. I will go again on my problem, I have a google compute instance (server) running on google datacenters. Ok, sorry for all this messed up things, I am completely new to linux and networking when it comes to practical.
0 Comments
Leave a Reply. |