Code Monkey home page Code Monkey logo

Comments (3)

typicode avatar typicode commented on May 9, 2024

You're right, I've added the option.

~/.hotel/conf.json

{
  "port": 2000,
  "host": "0.0.0.0"
}

However, it won't work with xip.io because the daemon doesn't check the hostname to find the process (name.192.168.x.y.xip.io).

But, if you need to access a server from another device, you can use the following URL:

http://192.168.x.y:2000/name # -> will redirect to http://192.168.x.y:4567`

Or you can symply go to http://192.168.x.y:2000 and get server list.

from hotel.

jsierles avatar jsierles commented on May 9, 2024

Thanks! I thought xip.io would still work by doing:
http://192.168.x.y.xip.io:2000/name

El sáb., 20 jun. 2015 a las 5:06, typicode ([email protected])
escribió:

You're right, I've added the option.

~/.hotel/conf.json

{
"port": 2000,
"host": "0.0.0.0"
}

However, it won't work with xip.io because the daemon doesn't check the
hostname to find the process (name.192.168.x.y.xip.io).

But, if you need to access a server from another device, you can use the
following URL:

http://192.168.x.y:2000/name # -> will redirect to http://192.168.x.y:4567`

Or you can symply go to http://192.168.x.y:2000 and get server list.


Reply to this email directly or view it on GitHub
#4 (comment).

from hotel.

typicode avatar typicode commented on May 9, 2024

You're welcome.

BTW the URL in your example should work, it's only "sub-domains" on xip.io (i.e. name.a.b.c.d.xip.io) that won't.

from hotel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.