<div dir="auto"><div>Thanks for following up with an issue Mike!<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2019, 1:45 PM Mike DePaulo <<a href="mailto:mikedep333@redhat.com">mikedep333@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Mar 7, 2019 at 4:36 PM Mike DePaulo <<a href="mailto:mdepaulo@redhat.com" target="_blank" rel="noreferrer">mdepaulo@redhat.com</a>> wrote:<br>
><br>
> On Thu, Mar 7, 2019 at 3:46 PM Eric Helms <<a href="mailto:ehelms@redhat.com" target="_blank" rel="noreferrer">ehelms@redhat.com</a>> wrote:<br>
> ><br>
> > I'm fine if someone wants to take up the effort to find and suggest two ports that match all of those as the defaults.<br>
><br>
> I suggest:<br>
> 24816 (powers of 2: 2, 4, 8, 16)<br>
> 24817<br>
><br>
> They're not officially reserved, and only used by Apple "med-ltp" as<br>
> part of a block of 1000 ports. [1] [2]<br>
><br>
> I am new to Pulp, but I think other devs indicated that users may<br>
> browse available content. If so, I suggest we use 24816 for content,<br>
> and 24817 for API.<br>
><br>
> > I've already opened a PR to make port customization a reality. In most environments, these ports won't see the light of day as they will be running services on localhost with a webserver proxying to them. I was aiming for sane defaults, that users and developers could easily rely on and expect across basic environments. And allow customization in environments that need it.<br>
><br>
> Understood, I was not aware of this. But we need to prevent any<br>
> conflicts by default. Even if we only listen on localhost, we can<br>
> conflict with services listening on all interfaces. Users are likely<br>
> to give up on Pulp if they run into a port conflict; either because<br>
> they cannot figure it out ("why isn't this service starting?") or<br>
> because they spend too much time trying to set it up and other<br>
> priorities come up.<br>
<br>
Since users can interact with the API via web browser, I submitted a<br>
task for 24816 (API) & 24817 (content):<br>
<a href="https://pulp.plan.io/issues/4556" rel="noreferrer noreferrer" target="_blank">https://pulp.plan.io/issues/4556</a><br>
<br>
-Mike<br>
</blockquote></div></div></div>