Skip to content

Commit 061b45e

Browse files
committed
solve unconnectivity issue
1 parent 7d0a7ce commit 061b45e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

driver-examples/src/main/java/com/datastax/driver/examples/basic/CreateAndPopulateKeyspace.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@
3636
*/
3737
public class CreateAndPopulateKeyspace {
3838

39-
static String[] CONTACT_POINTS = {"10.0.0.23"};
40-
static int PORT = 9160;
39+
//static String[] CONTACT_POINTS = {"10.0.0.23"};
40+
static String[] CONTACT_POINTS = {"127.0.0.1"};
41+
static int PORT = 9161;
4142

4243
public static void main(String[] args) {
4344

0 commit comments

Comments
 (0)