mgedmin / restview

ReStructuredText viewer
https://pypi.python.org/pypi/restview
GNU General Public License v3.0
214 stars 34 forks source link

Cannot access restview web server from an external client #29

Closed mdear closed 9 years ago

mdear commented 9 years ago

My development machine is in another geographical area, but I want to do rst file development and render on my local machine for speed. It doesn't make sense to me to run my browser on the development machine for latency reasons.

restview apparently does not allow access from an external server, could you add this functionality?

For example, I run restview on machine A: restview -l 8080

And on machine B, I try to access the following URL: http://b:8080

My browser gives me an "unable to connect" error.

mgedmin commented 9 years ago

Try restview -l 0:8080.

By default restview accepts connections only from localhost, for safety/security.

mdear commented 9 years ago

Thanks, Marius.

Appreciate the pointer, that works as expected.

Kind regards,

From: Marius Gedminas [mailto:notifications@github.com] Sent: Friday, February 27, 2015 4:32 PM To: mgedmin/restview Cc: Myles Dear (mdear) Subject: Re: [restview] Cannot access restview web server from an external client (#29) Try restview -l 0:8080. By default restview accepts connections only from localhost, for safety/security. — Reply to this email directly or view it on GitHubhttps://github.com/mgedmin/restview/issues/29#issuecomment-76475609.