Actix_Web with Amazon Lightsail

Hi guys,
I wonder if you could please help resolve this issue.

When I deploy my rust code to AWS Lightsail, it throws the following error in the logs and then deployment fails:

"At main function:
[9/Jul/2022:10:35:56] Error: Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }"

In my rust code I have mentioned my AWS container address inside .bind(HERE) so I'm not sure why I'm still getting this error. Please help.

AWS Container (see Public domain):

Rust code:

Error log on AWS: