⭕Oracle Cloud / Amazon Lightsail: "bind cannot assign requested address 8025"
View the contents of the file with the cat command:
cat config/edcom.env
PLATFORM_IP=1.2.3.4You can do any of the following to correct this issue:
Change PLATFORM_IP to 0.0.0.0 (Can't do this if running Velocity MTA on this server)
Use the 'nano' command to edit this file:
nano config/edcom.env
Delete config/edcom.env with the rm command, which will cause 0.0.0.0 to be used automatically (Can't do this if running Velocity MTA on this server)
rm config/edcom.env
Figure out what your private IP address is in Ubuntu and change PLATFORM_IP to that IP address
Use the ip command to see your private IP addresses:
ip a
Look for output similar to this:

You might also be shown your private IP addresses as part of the MOTD (message of the day) when you log in:

Use the 'curl' command to find your "real" IP by initiating a connection from your private IP to a compatible website that reveals your public IP:
# curl --interface 10.0.0.246 icanhazip.com
144.24.125.61
# curl --interface 10.0.0.128 icanhazip.com
144.24.125.186
# curl --interface 10.0.0.42 icanhazip.com
144.24.125.167
# curl --interface 10.0.0.231 icanhazip.com
144.24.125.150
# curl --interface 10.0.0.82 icanhazip.com
129.159.125.34
Last updated
Was this helpful?