node.js - give local node server a name rather then ip address -
this might stupid question, run business in strip mall , net included (because of have no access router). router assigns dynamic ip address , when set static ip lose connection.
is there way alter address node app "http:/ /[my-server-ip]:3000" "http:/ /[business-name]:3000". (/ / should // stack wont allow me post dead links)
the main reason have multiple tablets , devices utilize scheme after made changes routers setting computer assigned 2 or 3 ip addresses day (i notified landlord says normal). , everytime ip address changes lose connection app.
is there possible prepare doesnt require me host on web server or enable port forwarding?
perhaps should reword question. how go setting local dns zones mac? (i know can achieved linux distros)
no can't.
your server ip alter router gives new ip address, alter hosts not work unless every time ip on server changes, alter ip on devices.
you may seek create business relationship on dns sites http://www.noip.com/. give "external" net address mybusiness.noip.com , point programs on tablets , cell phones address.
you install programme on server tell noip new address maintaining same mybusiness.noip.com on them.
node.js
No comments:
Post a Comment