Search code examples
javascriptjqueryserversesametriplestore

Querying Sesame on local machine using IP address


I send queries to a Sesame triplestore and render the results on a webpage. The server is set up on a local computer. Everything works fine when I access the server from the same computer (say computer A).

If I try to access the triplestore from another computer (say computer B) using computer A's IP address, I get this error:

net::ERR_EMPTY_RESPONSE

b.ajaxTransport.send @ jquery.min.js:5b.extend.ajax @ jquery.min.js:5(anonymous function) @ allScans.js:26b.Callbacks.c @ jquery.min.js:3b.Callbacks.p.fireWith @ jquery.min.js:3b.extend.ready @ jquery.min.js:3H @ jquery.min.js:3

How can I resolve this issue?


Solution

  • You nailed the problem on its head, Jeen. The problem was with Windows Firewall. To solve, I had to let Tomcat server communicate through the firewall. This meant creating rules to enable Tomcat.exe in the Apache Folder to be allowed inbound communication (inbound port rule).