I would ssh into the VPS and run;

netstat -tan

*Never run something you read in a group unless you understand what it does though!*

netstat enumerates the things which have opened ports,
-t says only show TCP ports (httpd or apache only use tcp, not UDP)
-a says show all (listening and non-listening)
-n says display as numeric (ie dont bother reversing the IP into a hostname - much faster)

This should show you something like this;

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN See the second line - it shows that something is listening for requests on port 80.


MrKiwi


j wrote:
I don't know if where I should ask this but seeing as I'm determined
to learn how to configure mod_wsgi for Apache I figure I'd ask here. I
have some great resources for a hello world mod_wsgi program among
others but I'm clueless about something. I'm doing this on a VPS and
I'm not doing it locally on my machine...so my problem is what address
do I go to once I decide I have my "hello world" wsgi program
configured correctly. www.example.com will not work, that's for sure.
Locally, I'd do something like http://127.0.0.1:8000/myapp/ but I'm
not local I have an IP address but 1.2.3.4/myapp/ is not working or
http://1.2.3.4/example/myapp is not working either. So, if my app is
in /var/www/wsgi-scripts what would I put in my address bar to get to
that wsgi application? I know this is computer 101, but I can't seem
to get a straight answer from anyone about this and thought I'd try
here before I start again on configuring my app with Apache and
mod_wsgi That way I can focus on getting the setting correct.

Thanks for your time,
J.


--
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to