Running dfx on my public ip address

I am trying to run dfx on my public ip using this command :
dfx start --host ‘publicIp:port’

The error i am getting:
Error: Failed to get frontend address.
Caused by: Failed to find reusable socket address
Caused by: Failed to bind socket to publicIp:port.
Caused by: Cannot assign requested address (os error 99)

Is it possible to run it on my public ip ? if so am i doing something wrong here
Ps: trying this on an aws ec2 instance

Did you try 0.0.0.0:port or 127.0.0.1:port?

1 Like