Giter Site home page Giter Site logo

local hostname blacklisted? about webcore HOT 4 CLOSED

chrwei avatar chrwei commented on August 22, 2024
local hostname blacklisted?

from webcore.

Comments (4)

chrwei avatar chrwei commented on August 22, 2024

did some tests, go it to request local, but it didn't work, maybe local doesn't do any DNS lookups?.

guess this is a limitation we have to live with. would be nice if it were more specifically documented though.

from webcore.

idpaterson avatar idpaterson commented on August 22, 2024

Correct, webCoRE uses the host name to guess whether to issue a local or remote request. Only requests to localhost or a local network IP range are handled by the hub. Remote requests are done on the ST platform rather than the hub so are not subject to your local DNS setup.

from webcore.

idpaterson avatar idpaterson commented on August 22, 2024

Checking for no dots seems reasonable, feel free to submit a pull request to add that to the webCoRE piston groovy smart app. You can probably grep for 127 or 192 to find where the local IP ranges are tested.

from webcore.

chrwei avatar chrwei commented on August 22, 2024

I already tested it and still doesn't work, several seconds later a [] result appears. I also tried the full local hostname and that didn't work either. the other option would be to try to do a hostname lookup and compare the IP, but if hostname didn't work I suspect that's a dead end too.

from webcore.

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.