Can't open jenkins gui installed in VM

Hello,
I hope someone can help me.
I installed jenkins on my VM centos 7 and can open gui and login in VM using localhost:8080 or ip assigned to this VM. Here everything is ok.
Network adapter is bridge.
But when I’m trying to open jenkins gui on my host windows browser I can’t.
This is weird because I have connection I can ssh to the VM but jenkins not work.

VM:

ip a | grep enp0s3
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
inet 192.168.1.114/24 brd 192.168.1.255 scope global noprefixroute dynamic enp0s3

windows machine:

IPv4 Address. . . . . . . . . . . : 192.168.1.110

ping from windows:
ping 192.168.1.114 Pinging 192.168.1.114 with 32 bytes of data: Reply from 192.168.1.114: bytes=32 time<1ms TTL=64 Reply from 192.168.1.114: bytes=32 time<1ms TTL=64 Reply from 192.168.1.114: bytes=32 time<1ms TTL=64

Response on browser:

This site can’t be reached

192.168.1.114 took too long to respond.

Try:

ERR_CONNECTION_TIMED_OUT

Hi @jrozentalski,
Please make use of the “Port Forwarding” service. It’s available in the VM > settings.

Regards,

Port forwarding I think works only for NAT network adapter when I’m using localhost as url in windows hos.
In my case issue was that after setup jenkins I add new firewall rule to allow my host to connect VM and I forgot to refresh Firewall and this new firewall command was never saved…
small stupid mistake :slight_smile: