ubuntu server network fix code example
Example: how to fix network issues on ubuntu
#Flush dns
sudo /etc/init.d/networking restart
#Or
sudo /etc/init.d/nscd restart
#Reset IP
sudo service network-manager restart
#Flush dns
sudo /etc/init.d/networking restart
#Or
sudo /etc/init.d/nscd restart
#Reset IP
sudo service network-manager restart