Coder Social home page Coder Social logo

Comments (4)

globau avatar globau commented on July 30, 2024 1

Thanks for the quick response.

telnet is protocol agnostic, it just opens a socket (once connected you can type the raw HTTP request such as GET /).

I see the same with curl:

$ curl http://127.0.0.1:8100/
curl: (56) Recv failure: Connection reset by peer

Internally there is really no difference in how bluemap's webserver acts no matter which ip it is bound to

Yeah, I was surprised by this outcome.

my best guess is that you have some networking issues on your end

At first I thought it was local, however that I see the same behaviour on two very different systems (macOS and Linux) points to something else.

I run webservers bound to localhost on a daily basis as part of my regular software development; no problems with any of those.

Or can you provide me with any way to reproduce this on my end?

Love to, but not sure where else to go.

As you can't reproduce it, I'll pull down the code and see if I can diagnose this.

from bluemap.

globau avatar globau commented on July 30, 2024 1

This bug is invalid; sorry about the noise.

I'm running MC within a Docker container, so its localhost wasn't the host's localhost.
d'oh!

What I've done instead is use ip: "#getLocalHost" which selects the correct interface.

from bluemap.

TBlueF avatar TBlueF commented on July 30, 2024

I can not reproduce your issue, i can connect and view the map without any issues when binding to ip: "127.0.0.1" specifically..
And i guess telnet is not working because bluemaps integrated webserver is dropping all connections that are not http.
Internally there is really no difference in how bluemap's webserver acts no matter which ip it is bound to, so my best guess is that you have some networking issues on your end.
Or can you provide me with any way to reproduce this on my end?

from bluemap.

TBlueF avatar TBlueF commented on July 30, 2024

No worries! Glad you figured it out :)
And you are the first to use that hidden #getLocalHost setting, that i added but never documented anywhere ;D

from bluemap.

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.