GitLab on virtual machine is unreachable in my host browser

I have installed ubuntu 18.04 LTS (ubuntu-18.04-server-amd64.iso) on a VM (with VirtualBox). Then, on this server (on this VM) I have this 2 network interfaces (ifconfig from shell):

ok

where enp0s3 is a Bridged Adapter.
So, I have changed the /ect/gitlab/gitlab.rb file for reacha the gitLab via my host browser. I set this:

external_url 'http://10.10.40.39'

Then:

sudo gitlab-ctl reconfigure

And then:

sudo gitlab-ctl restart

But when I digit this url in my host browser I can’t see the gitlab Login page.
What’s my wrong?