json-server localhost

JavaScript
json-server --host 192.168.1.XXX my_file.json
Source

Also in JavaScript: