• 9

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

VPS: KVM (SolusVM), VM OS: Ubuntu 18.04, Network card: Virtio / Intel Pro 1000,

I can ping VM IP 21X.XXX.XXX.XXX from my machine(at home). But cannot access Apache port 80 using 21X.XXX.XXX.XXX or domain.

I installed docker in my VM, which is also not accessible outside using 21X.XXX.XXX.XXX:8000.

Am I forgetting something to configure?

Note: If I curl 21X.XXX.XXX.XXX:8000 inside VNC, it works but not on internet.

      • 2
    • And what exactly is the meaning of "cannot access Apache"? Timeout, connection refused, access denied,...?
  1. Is Apache service up and running? - ps auxxw can help you here
  2. Is it bound to port 80? - nmap or netstat can help you here
  3. Is it accessible locally? - wget or curl can help you here
  4. Is your firewall allowing incoming connections to the respective ports?
  5. Is your VPS placing your VM behind a vnet?

Perform the same checks for every service that you can't access.

  • 0
Reply Report

Trending Tags