Unable to access public ip via vm

uglyxiaodi

Member
Feb 4, 2021
18
0
6
44
Dear Team

Im unable to access my website in my vm (private network)

lets say public IP : 128.199.162.34
private IP : 192.168.70.10
NAT rules : 128.199.162.34 to direct to another VM ( private network) 192.168.40.10

Im able to access 128.199.162.34/test from public machine however Im not able to access within my VM
VM is able to access internet ( google.com, youtube) with no issues, however when I access 128.199.162.34/test, hit error page 404 ngix error

Any advise?
 
Dear Team,

this is from the firewall log ngix error

2022/10/03 07:42:41 [error] 56310#100528: *6746 open() "/usr/local/www/TH6/index.xhtml"
failed (2: No such file or directory), client: 192.168.1.10, server: ,
request: "GET /TH6/index.xhtml HTTP/2.0", host: "erp.dx.com", referrer: "https://erp.dx.com/"

any advise what might be the error?