can't connect to redshift database

chemicalkt

I'm trying to connect to Redshift database from SQL Workbench/J using Postgre JDBC drivers but I can't get through. I get this error "The connection attempt failed". The jdbc driver is properly located. I also tried through Aginity Workbench for Redshift but it was unable to show the list of databases. I have my connection url to the database of the form jdbc:postgresql://host:port/name_of_database but surprisingly I could not even ping the host. I can see that the health of database is good through amazon console. So, my questions are:

  1. Why can't I ping my redshift db server?
  2. Is there a way to ssh to the db server?

Edit1: After adding my public IP to security group the host gets resolved while pinging but still there's 100% packet loss.

Edit2: I could successfully host the db in EC2-Classic but not in EC2-VPC. Since I'm running short of public IPs I tried re-hosting the db in VPC where there is 100% packet loss.

Joe Harris

You have to add your IP address block into the security group for the cluster.

This is separate from other security groups (i.e. VPC).

You can find it on the left in the Redshift Console. https://console.aws.amazon.com/redshift/

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Can't connect with database

From Dev

pyodbc can't connect to database

From Dev

DATABASE LINK Can't connect to remote database

From Dev

Pentaho DI can't connect to AWS Redshift - Amazon Error 100021

From Dev

PHP - Can't connect to a remote MySQL database

From Dev

can't connect to database by executable file

From Dev

Rails console can't connect to database

From Dev

Can't connect to MySQL database using MySQLConnection

From Dev

Can't connect to MySQL database - PHP

From Dev

Can`t connect MySQL database in phpMyAdmin by python

From Dev

Error: Can't connect to MySQL database

From Dev

Can't connect to Database-MySQL

From Dev

Spring rspec can't connect to the database

From Dev

boxfuse app can't connect to RDS database

From Dev

HeidiSQL can't connect to my RDS database?

From Dev

Java can't connect to mysql database

From Dev

MySQL workbench - Can't connect to a specific database

From Dev

Can't connect on database on my localhost

From Dev

Spring JDBC - Can't connect to database

From Dev

Can't connect to phpMyAdmin database using mysqli

From Dev

Can't connect to Database-MySQL

From Dev

boxfuse app can't connect to RDS database

From Dev

can't connect to remote oracle database with JDBC

From Dev

Xamarin Can't Connect to SQL Database

From Dev

PyCharm can't connect to database and load it to Pandas?

From Dev

IIS Can't connect to remote database

From Dev

Can't disable redshift

From Dev

How to connect to a Redshift database in a Symfony application

From Dev

redshift/Postgresql 8.0 revoke connect to database of a user