The ogr2ogr command in this question
How to Import ESRI Geodatabase format .gdb into PostGIS
was missing the host and port arguments, or so I thought.
My answer included something like this
ogr2ogr -f "PostgreSQL" PG:"host=localhost port=5432 dbname=NY user=postgres" NY.gdb
I know my command works (even if it was down-voted) but I wonder if there are cases when the host and port arguments are not required.
So it's possible for my server to be running on the default port, I see. So, how or why would i set up the server to run on the default port? Thanks.