Poul Kristensen <bcc5226@gmail.com> writes:
> I have need to have to difference Postgres version runnung on the same RHEL
> 7.2 server.
> They are listening on 2 different ports as configured but socket is
> still listening on port 5432 for both of them.
It sounds like you didn't configure the second one correctly, but since
you said nothing about what you did to configure it, it's hard to offer
any concrete advice.
regards, tom lane