Answers for "how to set the public ip for web server in linux"

1

public ip linux

curl api.ipify.org
Posted by: Guest on August-17-2021
2

configure static ip address linux

# for debain in /etc/network/interfaces
# you can find your network adapter with ip a
# no need for network or broadcast address when you set your netmask right

auto <your-networkadapter>
allow-hotplug <your-networkadapter>
iface <your-networkadapter> inet static
        address 192.168.X.X
        netmask 255.255.255.X
        gateway 192.168.X.X
Posted by: Guest on April-23-2022

Code answers related to "how to set the public ip for web server in linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language