Code Monkey home page Code Monkey logo

Comments (5)

sallespromanager avatar sallespromanager commented on August 14, 2024

hi, i am having such a problem too.

i installed local-tld successfully and i can run the hoodie starndard app too.

the problem is my local web server is neither being capable of responding to previously configured /etc/hosts nor to 127.0.0.1.

how can we deal with this ? how can i DISABLE or uninstall local-tld ?

from local-tld.

hazeledmands avatar hazeledmands commented on August 14, 2024

You should be able to disable local-tld by running npm rm -g local-tld -- that will run a script that should set your network settings back to the way they were before.

from local-tld.

hazeledmands avatar hazeledmands commented on August 14, 2024

Actually, the uninstall script doesn't flush your ipfw settings. @bbn's sudo ipfw flush should work, or if you want you can run sudo ipfw list and then sudo ipfw delete <number> where <number> is the number of the rule that looks like this:

<number> fwd 127.0.0.1,5999 tcp from any to me dst-port 80 in

from local-tld.

sallespromanager avatar sallespromanager commented on August 14, 2024

great. thanks for the quick reply.

Is there anyway to keep it dealing with the subdomains only ? Or just do the redirection for 600x ports instead of messing up with port 80 ?

i tried to include my root domain into ~/.local-tld.json but it didnt work.

from local-tld.

janl avatar janl commented on August 14, 2024

It’s the trade-off you need to make: use local-tld and get nice URLs without ports, but don’t get any other service going on port 80.

local-tld always needs to take over port 80, otherwise you can just use port numbers to differentiate.

Note that Hoodie doesn’t require local-tld any more, so you can just nuke it and still use Hoodie.

from local-tld.

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.