database
database copied to clipboard
serviceURL in log does not match actual URL
I configured blazegraph to only listen to the localhost interface. This itself works, but in the logging output I still see:
buildVersion=2.1.1 gitCommit=90d9e8232969a8afdc830e856643e5416bb50d0a ... serviceURL: http://172.17.44.1:9999
... with 172.17.44.1 being my "public" IP I did not want to blazegraph to listen to and which it also is not listening to (but only 127.0.0.1). Since nothing is actually listening to http://172.17.44.1:9999, this output is misleading (in my case misleading me to believe that my efforts of telling blazegraph to only listen on local interfaces would have not been successful yet).
@knarrff Did you configure the localhost listener with a custom Jetty configuration or another method?
I define JETTY_HOST=localhost
in blazegraph/etc/blazegraph/blazegraph .
I also set
<Set name="host"><SystemProperty name="jetty.host" default="127.0.0.1" /></Set>
in blazegraph/etc/blazegraph/jetty.xml .
I do point blazegraph to it within blazegraph/etc/blazegraph/blazegraph:
BLZG_PROJ=${HOME}/projects/blazegraph/
BLZG_CONF=${BLZG_PROJ}/etc/blazegraph
JETTY_XML="${BLZG_CONF}"/jetty.xml
I am not sure which does the trick in the end, though. I do start blazegraph using "blazegraph/usr/bin/blazegraph start"