Thread: Accessing server using IP
hello everyone,
installed ubuntu server @ home , have lamp component in. connected web , able install webmin.
in addition installation, did following:
ip address is: ip address 172.19.0.10
sudo vi /etc/network/interfaces
# primary network interface
auto eth0
iface eth0 inet static
address 172.19.0.10
netmask 255.255.255.0
network 172.19.0.0
broadcast 172.19.0.255
gateway 172.19.0.1
able access index.html found in /etc/www when w3m http://localhost. able access using static ip: http://172.19.0.10
not able access site http://172.19.0.10 off laptop (from home). once can access site both internal , external computers, can start working on webmin configs.
are able see router table in browser laptop? confirm new device when configuring static ip make sure took. if didn't router assigns dhcp ip.
here /etc/network/interfaces file 1 of servers:
from posted, half of config. second half in /etc/resolv.confcode:mafoelffen@hplp1000r:$ cat /etc/network/interfaces # file describes network interfaces available on system # , how activate them. more information, see interfaces(5). # loopback network interface auto lo iface lo inet loopback # primary network interface auto eth0 iface eth0 inet static address 192.168.2.5 netmask 255.255.255.0 gateway 192.168.2.1 # secondary network interface auto eth1 iface eth1 inet static address 192.168.2.6 netmask 255.255.255.0 gateway 192.168.2.1
similar this:
this local info. need modify yours info. if open network tools on laptop, change local eth device, "netstat" tab, routing table, should able gather info.code:# isp westell.com , use dns servers # domain westell.com # search westell.com nameserver 209.206.160.253, 209.206.184.250
help?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Accessing server using IP
Ubuntu
Comments
Post a Comment