Fixed hard coding of connecting to localhost:2001.