fixes bug in ip address, we hadn't used this in production until now, so this bug went unnoticed because it is in code that only runs when not in a localhost environment
fixes bug in ip address, we hadn't used this in production until now, so this bug went unnoticed because it is in code that only runs when not in a localhost environment

firstopinion/endpoints