Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for ports in use #9

Open
NiclasvanEyk opened this issue Sep 24, 2021 · 0 comments
Open

Check for ports in use #9

NiclasvanEyk opened this issue Sep 24, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers ./initialize Concerns the `initialize` script

Comments

@NiclasvanEyk
Copy link
Owner

MinIO uses ports 9000 and 8900 on the host system. If you use phpstorm and are currently listening for xdebug connections, it will use port 9000 by default.

This means, that the initialize script will start, but surely fail when calling docker-compose up.

A similar issue can be observed on systems, where e.g. the apache web server is included and started by default (I think Ubuntu does this) on port 80.

using nc, which is hopefully available on most systems (otherwise maybe we can use containers?), one can check the availabilitiy (minio is running):

❯ nc -z localhost 9000                                  
Connection to localhost port 9000 [tcp/cslistener] succeeded! 
❯ nc -z localhost 8001                                 

@NiclasvanEyk NiclasvanEyk added the enhancement New feature or request label Sep 24, 2021
@NiclasvanEyk NiclasvanEyk added ./initialize Concerns the `initialize` script good first issue Good for newcomers labels Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers ./initialize Concerns the `initialize` script
Projects
None yet
Development

No branches or pull requests

1 participant