Check out example codes for "asp.net core with postgresql deploy on ubuntu". It will help you in understanding the concepts better.

Code Example 1

listen_addresses = '*'

Code Example 2

host    all             all             0.0.0.0/0               md5

Learn ReactJs, React Native from akashmittal.com