AOT-Technologies / forms-flow-ai-deployment

Deployment base for forms-flow-ai
Apache License 2.0
7 stars 26 forks source link

Ports are not available: listen tcp 0.0.0.0:7000: bind: address already in use #25

Open tiagografiti opened 1 year ago

tiagografiti commented 1 year ago

Trying to setup formsflow in my mac, following the instructions in https://aot-technologies.github.io/forms-flow-ai-doc/ (Docker Based Installation)

After running install.bash Do you wish to continue installation that include ANALYTICS? [y/n] y

I get the following error:

ERROR: for server Cannot start service server: Ports are not available: listen tcp 0.0.0.0:7000: bind: address already in use ERROR: Encountered errors while bringing up the project.

it seems port 7000 is being used by ControlCenter in macos due to a AirPlay feature: https://developer.apple.com/forums/thread/682332

sudo lsof -i -P | grep LISTEN | grep 7000 ControlCe 60258 tiagograf 5u IPv4 0xbaaf79508113204d 0t0 TCP :7000 (LISTEN) ControlCe 60258 tiagograf 6u IPv6 0xbaaf79508444da45 0t0 TCP :7000 (LISTEN)

alanraju-aot commented 1 year ago

@kiran-aot Can you just check, what the issue actually is?

alanraju-aot commented 1 year ago

Please use any other port other than 7000. It is already allocated.

kiran-aot commented 1 year ago

We can use port 7001, which can be modified in the compose file and other env variables . I have tested it in my mac mini and working

sumesh-aot commented 1 year ago

This is not completed, so re-opening the issue