Skip to first unread message

charbe...@gmail.com

unread,
Apr 16, 2015, 2:13:44 AM4/16/15
to sta...@clarkparsia.com
Hi,

I can't stop StarDog after I started it on port 8080

I keep getting Unable to connect to server at snarl://localhost:5820 Connection refused: localhost/127.0.0.1:5820.

Any hints?

thx
Charbel

Michael Grove

unread,
Apr 16, 2015, 6:02:50 AM4/16/15
to stardog
If you are running the server on at non-default location, you have to tell the CLI where the server is running using the --server flag [1].

Cheers,


--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

charbel kaed

unread,
Apr 20, 2015, 8:10:23 AM4/20/15
to sta...@clarkparsia.com
Hi Michael,


Thank you for you reply,

the --server is available only with stardog-admin.
So when I want to add a namespace it tries to connect again to localhost:5820 ! I am running on port 8080.
Since I can't add the url myservice:8080 to the admin command, I am kind of blocked.

Best,
Charbel

Michael Grove

unread,
Apr 20, 2015, 9:34:33 AM4/20/15
to stardog
On Mon, Apr 20, 2015 at 8:09 AM, charbel kaed <charbe...@gmail.com> wrote:
Hi Michael,


Thank you for you reply,

the --server is available only with stardog-admin.
So when I want to add a namespace it tries to connect again to localhost:5820 ! I am running on port 8080.
Since I can't add the url myservice:8080 to the admin command, I am kind of blocked.


Correct, only the admin commands use --server.  `namespace add` [1] like all of the client commands accepts a connection string [2], which can include the full URL of the database.

Cheers,

Mike

Reply all
Reply to author
Forward
0 new messages