• 3

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Unable to connect to google VM through mosh

firewall config

I have opened the relevant port from firewall. I have setup the firewall config as in the image provided.

I have also opened port on the server with following command sudo ufw allow 60000:61000/udp which is the relevant port used by mosh. I have installed mosh on the server also and It connects through. Following the snapshot command netstat -nulp

netstat -nulp

mosh still gives unable to receive any data on port 60001.

I dug deeper and found out that that opening all the ports on the firewall lets me connect to the google VM but config attached in the image should have been enough.

Am I missing something here?

      • 1
    • configuration in the screen-shot you provided seems good for GCE firewall. Verify if UDP traffic to the chosen port number is working by running "nc -l -u 60001" on the server side, run "nc -u server-public-ip 60001" on the client side and confirm that anything you type on either end shows up in the other command’s stdout. Test the same for port 60002 as well. You can report your issue on mosh github as well.

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags