Hello,
Recently I wanted to present some data in a form of interactive map generated in Python and include that into html site. I had an idea that if I cannot insert that as any other component, I could try to use Iframe to just place that in the business view.
I've tried to do with my own private domain and it look promising, however much better would be just running local webserver in ML workbench and seeing that.
Here's the code snippet used from internet:
I've also check if the site is really accessible in the ML workbench with Curl tool - I can see whole html code.
Unfortunately when inserting that URL as src in Iframe component I can't get any data:
I've tried to put URLs:
- http://localhost:8080/example.html
- http://localhost:8080/example
Any ideas how to access localhost website? I'm not sure if I can change anything in html code, as event simplest html sites if hosted on normal domain, seems to be working fine.
Please note that I cannot edit most of linux system files, I would like to avoid setting additional infrastructure with website, domain etc..
I've attached files - please change path to file if needed.
#Edit:
I know that in code port is set to 8081 and in src it's 8080 - I've changed that, and tested.
Standard maps are too limited to use for my purpose.
Best Regards,
Mateusz Dudek