I’m trying to set up Nginx on my server. In the initial set up I have to do ip -4 addr show scope global
So I do that and I get:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 inet 126.96.36.199/20 brd 188.8.131.52 scope global eth0 valid_lft forever preferred_lft forever inet 10.17.0.5/16 brd 10.17.255.255 scope global eth0 valid_lft forever preferred_lft forever 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 inet 10.108.0.2/20 brd 10.108.15.255 scope global eth1 valid_lft forever preferred_lft forever
for eth0: which IP address do I need to use?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.