I'm currently working in a Phoenix app and had this question when modifying my /config/*
files.
Currently the configuration for my Endpoint contains the following:
config :my_app, MyApp.Endpoint,
http: [port: 8080],
url: [host: "example.com", port: 80]
...
After reading both documentations for the :http config and the :url config its still not clear to me:
What is each :port config used for and how are they different?