Simplify and generalize SERVER_IP detection
infamousjoeg opened this issue · comments
Line 8 in 783e3fd
An easier and more effective way of doing this is:
hostname -I | awk '{print $1}'
I have ran into issues in certain VM environments and in AWS using the current method that was resolved globally by making this change.