Ot: seeking help from linux/ubuntu guru (2)


#1

sorry, embarrassing, my linux/ubuntu knowledge is running low…

my ubuntu 18.04 virtual machine’s networking setup has some issue.

network configuration
/etc/network$ cat interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto enp0s8
iface enp0s8 inet static
address 192.168.56.100
netmask 255.255.255.0

problem:
ping 192.168.56.100

what’s wrong and how to fix it?

many thanks.


#2

18.04 went to netplan. Google 18.04 configurations.


#3

Very helpful, thanks.

So, now, my network is configured to 192.168.56.100 and it’s pingable from several terminals, however, cfhttp is still unable to call to it via the lucee docker container, any idea as to why?


#4

Add a gateway.

address 192.168.56.100 netmask 255.255.255.0

gateway 192.168.56.1???

Whatever it should be


#5

too bad, the new netplan yaml configuration seems a bit weird.
it does not like the notion of netmask,
that is, sudo netplan apply failed on that.
and it does not like gateway, again, sudo netplan failed on it, but it takes gateway4,
so, I did according.
Then, the lucee docker container is still unable to cfhttp it even using localhost while from terminal command http locahost call was fine. Something seems exceedingly odd.