Please help me i trying alot but failed to access my VM through public IP, where i am wrong please guide..
This is my ESXi machine on local Ip 192.168.1.150
VM machine with IP configurations mentioned in image
Jenkins Installed on port 8080
Port forwarding / Port Mapping settings on Vodafone Router
This is my Public IP same ping OK
Result is this, Please guide where i am wrong...
The IP configuration in Ubuntu shows as the “default route“ on a different subnet to the “IPv4 address”.
So you would need a router to access the router.
As correctly stated by others, you have a problem With Your network setup here.
Your VM has IP address 192.168.1.180
while you have set default route to 192.168.121.2
This is not within the same subnet and will not work.
If the netmask is /24 or 255.255.255.0 then the Gateway must be within the 192.168.1.x network.
I noticed you also had the dns as the same as the Gateway address.
Should the Gateway address be 192.168.1.2 ?
In any case, this is not a vmware problem, but network setup inside the VM.