Giter Club home page Giter Club logo

Comments (4)

nx10 avatar nx10 commented on August 24, 2024

Remote access should work. Try using:

httpgd(host="0.0.0.0")

And then connect to either the public IP or your host name.

I am not familiar with live share, but maybe @renkun-ken knows more about that.
If it has a HTTP based API, support should be possible.

from httpgd.

renkun-ken avatar renkun-ken commented on August 24, 2024

If you are using azure (or any other cloud VM provider) to share plot, you might need to use a fixed port and set up the network rules to allow traffic from/to that port.

from httpgd.

nx10 avatar nx10 commented on August 24, 2024

I think they are referring to this: https://visualstudio.microsoft.com/de/services/live-share/

I can not find any API for this extension.
I would recommend sharing the plot with a fixed port just like @renkun-ken said.

from httpgd.

Draic avatar Draic commented on August 24, 2024

setting host to 0.0.0.0 was the solution to get access from outside the network. Thanks @nx10

Now I just need to figure out, why I am getting a connection refused when connecting via domain instead of external IP

This is still not ideal, as I want to have plots visible for online classrooms and having them open up a extra browser window is a hassle. But I guess this is more a limit of Live Share. Sharing the http server in Live Share seems to only work with Azure, which I do not have and even then it wouldn't let me just have a plot be visible after it's been generated...

Thanks for the help figuring out the remote access :)

from httpgd.

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.