Reputation: 397
I am running a VNC server in Google Cloud Computing Engine and it is running on port 5901. When I am trying to access the server through below command
nc localhost 5901 I am able to connect.
but when I am trying to connect through external IP which is static and assigned to my cloud console. I am getting timed out error.
I verified the firewall rules and seems everything ok.
Could you please guy help me why this is happening
> $ nc localhost 5901
RFB 003.008
> $ nc 146.148.91.209 5901
(UNKNOWN) [146.148.91.209] 5901 (?) : Connection timed out
Upvotes: 2
Views: 1436
Reputation: 397
I got the answer of this question in a different post
There are three steps for that, I was not doing the third one.
Upvotes: 2