PostGres ports used?

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default PostGres ports used?

    Hello

    We have a PostGres database and are trying to figure out the datasource
    connection to CFMX 7. I have used the technote found here:
    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?event=view&id=KC.tn_18[/url]
    338&extid=tn_18338&dialogID=23385242&iterationID=1 &sessionID=4830d1e89f196a2b767
    7&stateID=0+0+23387956&mode=simple

    The datasource connects perfectly. The question our UNIX admin has is what
    ports / firewall requirements are required to be open on the PostGres server
    end? As of right now, we have had to open all ports on the PostGres server to
    our CF server to allow the connection to happen. The PostGres server has a SW
    firewall and is normally closed to everything but what is absolutely necessary.
    We've played around with the different ports listed on MM's site for firewalls,
    but it doesn't appear to be enough.
    Thanks in advance.



    cynthiav Guest

  2. Similar Questions and Discussions

    1. php + postgres
      I've got this connection script for my database: <?php $password = md5("xxxxx"); $user = "user"; $host = "localhost"; $database = "base"; $link...
    2. postgres
      I'm trying to access a PostgreSQL database on my machine, however, I get the following error: irb(main):003:0> conn = PGconn.connect("localhost",...
    3. [OT] postgres
      > I can connect through DBI, but not using the postgres module. Very Hm. Does your postgres startup command have a "-i" in it somewhere? Tom
    4. [OT] postgres
      > It doesn't appear to. ps aux | grep postgresql doesn't show anything You might try adding a "-i" to the "postmaster start" command. That'll...
    5. TCP/IP ports in use
      Is there any command to list the TCP/IP ports are alreday in use? Thanks
  3. #2

    Default Re: PostGres ports used?

    The port Postgres listens on by default is 5432, unless that was changed.

    It is also specified in the $PGDATA/postgresql.conf file.
    Kronin555 Guest

  4. #3

    Default Re: PostGres ports used?

    Yes - we have opened port 5432 on the postgres end. Yet, some other ports or port range need to be opened and we are unable to identify.

    cynthiav Guest

  5. #4

    Default Re: PostGres ports used?

    A quick google search turned up this:
    [url]http://archives.postgresql.org/pgsql-general/2003-01/msg01395.php[/url]

    Are you using Ident authentication? Turn on verbose connection logging in
    Postgres. Is the initial request making it through the firewall?

    You could do some network monitoring on both boxes to see what traffic is
    being sent back and forth.

    Opening 5432 for TCP has always worked for me.

    Kronin555 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139