skip to Main Content

Postgresql query fo find IP address

I'm trying to find an IP address that match a range of hosts (172.24.12.???), but none of the following queries are working: select * from pg_catalog.pg_stat_activity --where client_addr <> E'(?|172.24.12.)'::inet; --where client_addr <> E'(://|^)172\.24\.12\.[0-9]'::inet I'm getting two different errors. SQL…

VIEW QUESTION

Unable to connect to Postgres within docker

So I'm trying to dockerize my Postgres-Express-React-Node Application the docker-compose for the application is version: '3.8' services: postgres: image: postgres:12.1 restart: always ports: - "5432:5432" environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: PGAdminAth backend: build: ./backend container_name: backend_c volumes: - /app/node_modules - ./backend:/app…

VIEW QUESTION
Back To Top
Search