Permalink
Browse files

changed default port to match 8.1-incubator

  • Loading branch information...
1 parent 7a7af2b commit 0b2d1bb2b216056634f8a63656791e5988555c60 goobsoft committed Sep 30, 2008
View
@@ -57,7 +57,7 @@ over simplification, but you get the idea.
Example
-------
-Session s = new Session("localhost",8888);
+Session s = new Session("localhost",5984);
Database db = s.getDatabase("foodb");
Document doc = db.getDocument("documentid1234");
@@ -115,4 +115,4 @@ LICENSE.TXT file.
Testing
---------
If you are running tests against a CouchDB instance that isn't on localhost:8888, you need to alter the
-src/test/couchdb-test.properties file to contain the host and port of your test server.
+src/test/couchdb-test.properties file to contain the host and port of your test server.
@@ -16,7 +16,7 @@ public static Session getTestSession() {
props.load(is);
return new Session(props.getProperty("host"),Integer.parseInt(props.getProperty("port")));
} catch (IOException e) {
- return new Session("localhost",8888);
+ return new Session("localhost",5984);
//throw new RuntimeException(e);
}
}
@@ -1,2 +1,2 @@
host=localhost
-port=8888
+port=5984

0 comments on commit 0b2d1bb

Please sign in to comment.