ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 14 Dec 2014 02:41:43 +0100no method available for opening http localhost 8000 (second part)https://ask.sagemath.org/question/25222/no-method-available-for-opening-http-localhost-8000-second-part/I have exactly the same problem as in [this question](http://ask.sagemath.org/question/9162/no-method-available-for-opening-http-localhost-8000/#).
It has an answer with two solutions:
- install a web browser inside the VM,
- punch port 8000 through to the host and use the host web browser.
I want to use the second option but I cannot understand it. Could somebody explain in detail the second option?Thu, 11 Dec 2014 17:35:46 +0100https://ask.sagemath.org/question/25222/no-method-available-for-opening-http-localhost-8000-second-part/Answer by Dima for <p>I have exactly the same problem as in <a href="http://ask.sagemath.org/question/9162/no-method-available-for-opening-http-localhost-8000/#">this question</a>.
It has an answer with two solutions:</p>
<ul>
<li>install a web browser inside the VM,</li>
<li>punch port 8000 through to the host and use the host web browser.</li>
</ul>
<p>I want to use the second option but I cannot understand it. Could somebody explain in detail the second option?</p>
https://ask.sagemath.org/question/25222/no-method-available-for-opening-http-localhost-8000-second-part/?answer=25248#post-id-25248I suppose this is described in Sect 6.3.1 of https://www.virtualbox.org/manual/UserManual.html
Sage notebook runs a webserver that is to be accessed on port 8000 (and this happens inside VM,
on "guest OS"). You need a setting that maps this port to a port X (X need not be equal to 8000) on the "host OS"; then you can access the Sage notebook from the "host OS" by pointing its web browser to http://localhost:X
Sat, 13 Dec 2014 14:23:29 +0100https://ask.sagemath.org/question/25222/no-method-available-for-opening-http-localhost-8000-second-part/?answer=25248#post-id-25248Comment by kcrisman for <p>I suppose this is described in Sect 6.3.1 of <a href="https://www.virtualbox.org/manual/UserManual.html">https://www.virtualbox.org/manual/Use...</a> </p>
<p>Sage notebook runs a webserver that is to be accessed on port 8000 (and this happens inside VM,
on "guest OS"). You need a setting that maps this port to a port X (X need not be equal to 8000) on the "host OS"; then you can access the Sage notebook from the "host OS" by pointing its web browser to <a href="http://localhost:X">http://localhost:X</a></p>
https://ask.sagemath.org/question/25222/no-method-available-for-opening-http-localhost-8000-second-part/?comment=25250#post-id-25250(Is it 8080 now?)Sun, 14 Dec 2014 00:39:56 +0100https://ask.sagemath.org/question/25222/no-method-available-for-opening-http-localhost-8000-second-part/?comment=25250#post-id-25250Comment by Dima for <p>I suppose this is described in Sect 6.3.1 of <a href="https://www.virtualbox.org/manual/UserManual.html">https://www.virtualbox.org/manual/Use...</a> </p>
<p>Sage notebook runs a webserver that is to be accessed on port 8000 (and this happens inside VM,
on "guest OS"). You need a setting that maps this port to a port X (X need not be equal to 8000) on the "host OS"; then you can access the Sage notebook from the "host OS" by pointing its web browser to <a href="http://localhost:X">http://localhost:X</a></p>
https://ask.sagemath.org/question/25222/no-method-available-for-opening-http-localhost-8000-second-part/?comment=25251#post-id-25251probably - although perhaps the VM Sage image has it differently. One can see the port number if you start sage in terminal and do 'notebook()' at sage prompt. It will tell you which URL to open in browser.Sun, 14 Dec 2014 02:41:43 +0100https://ask.sagemath.org/question/25222/no-method-available-for-opening-http-localhost-8000-second-part/?comment=25251#post-id-25251