Answer the question
In order to leave comments, you need to log in
How to check the performance of allocated ip-addresses on a web server?
There is an iron web-server with two additional dedicated ip-addresses. After restarting the server, nginx refused to start, swearing at additional ip addresses like this:
emerg]: bind() to IP x.x.x.x failed (99: Cannot assign requested address)
This site can’t be reached
site.ru is unreachable.
ERR_ADDRESS_UNREACHABLE
Answer the question
In order to leave comments, you need to log in
karpo518 , there was a manual intervention , because you yourself saw additional addresses registered in the '/etc/network/interfaces' file. Who registered them there is another question, I can’t do it here.
Why did it stop working? Here I can. Ubuntu has once again been updated, and netplan has become the main network configuration utility (although who did not ask him about it?). And since the additional addresses were written non-standard, in separate entries, the migration script from one configuration to another could not correctly recognize / transfer them, so they were lost / disconnected. Voila!
PS I wrote that it would be possible to mark the answer as a solution.
Of course, all ip addresses must be configured in the settings of the network or network cards.
Are there additional addresses in the output of the ifconfig command?
With the help of AUser0 :
1) I found a comment in /etc/networks/interfaces that the network configuration files are in the /etc/netplan folder.
2) The /etc/netplan file contains the 01-netcfg.yaml file and found the following code:
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
eno2:
accept-ra: false
addresses: [ a.b.c.d/24 ]
gateway4: m.n.o.p
nameservers:
search: [ worldstream.nl ]
addresses:
- "s.t.u.v"
- "w.x.y.z"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question