kong-pongo icon indicating copy to clipboard operation
kong-pongo copied to clipboard

Conflicting ports on pongo up --expose

Open iwaffles opened this issue 2 years ago • 3 comments

Hi there!

Trying to run pongo up --expose and it seems that since port 7000 is already in use, it fails. I believe this port is already in use on macOS.

Is there a supported method of getting around this so I can still expose the ports? Perhaps a flag or something to configure them? I took a look at the source but didn't spot anything.

iwaffles avatar Aug 18 '22 19:08 iwaffles

port 7000 is a default port used by Cassandra. At some point Apple started using it for Apple airplay. Here's some info to get around it: https://github.com/cookiecutter/cookiecutter-django/issues/3499#issue-1089496796

We cannot make breaking changes now. In a couple of months we might. Escpecially since Cassandra support is being deprecated in Kong 3 we should be able to make some changes then.

Tieske avatar Aug 23 '22 07:08 Tieske

To adjust Pongo; you could disable this line: https://github.com/Kong/kong-pongo/blob/d10eb09f8d0de6856fb022555cd2dd9b56695f23/assets/docker-compose.yml#L23 (if you're not using Cassandra)

Tieske avatar Aug 23 '22 07:08 Tieske

@iwaffles did that solve your issue?

Tieske avatar Aug 30 '22 21:08 Tieske

It did, thanks @Tieske!

iwaffles avatar Sep 13 '22 21:09 iwaffles