Thanks for the quick response. You made a great point about Google Cloud
and ports. I looked, and the default firewall restricts 0.0.0.0/0 http
traffic to port 80. I was using 5005 simply because Nginx had 80 and I was
testing it as well. I've killed Nginx and told my UWSGI ini file to use
0.0.0.0:80 as its socket. Now, instead of a timeout, I immediately get
"connection reset" when I browse to the Debian machine's internal or
external IP. All my log file says is "permission denied", with no other
error or anything. The stats system (which I didn't know about until I read
your link) seems like it'd be useful, but I don't yet have permission to
open another SSH port in the firewall. Is there a way to redirect that to a
local file instead, so I could at least review it? Thanks.

On Fri, May 6, 2016 at 4:25 PM, Damjan Georgievski <[email protected]>
wrote:

> > I should also say that I have only SSH access to the Debian machine,
>
> that's all you need.
>
> > Windows computer to access the Debian one, with SSH for direct access and
> > Firefox to test web serving. Unfortunately, I can't copy text from SSH
> > output to paste here, nor can I paste into SSH. Any output you ask for
> I'll
> > have to copy by hand, so forgive any mistakes.
>
> what?? how come??
>
> > sudo /etc/init.d/uwsgi start --socket...
>
> don't do this, makes no sense.
>
> > I've run this with
> > sudo uwsgi --socket 0.0.0.0:5005 --protocol=http --chdir ...
>
> you don't need sudo when listening on a port number bigger than 1024
>
> > Here's where I am right now. ...
> > I'm stumped....
>
> fist try  with something like this
>
> http://uwsgi-docs.readthedocs.io/en/latest/WSGIquickstart.html#the-first-wsgi-application
>
> also, are you sure Google Cloud allows you access on port 5005?
>
> --
> damjan
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>



-- 
Alex Hall
Automatic Distributors, IT department
[email protected]
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to