Specifying a port to mod_wsgi-express does not seem to work?

36 views
Skip to first unread message

Ed Trumbull

unread,
Aug 15, 2022, 4:08:26 PM8/15/22
to mod...@googlegroups.com
I have been trying to test mod_wsgi-express with the following command line:
mod_wsgi-express start-server --https-port 8080 2>&1 | tee mod_wsgi-express.out

When I do so, it appears that mod_wsgi-express does in fact start an instance of the browser - but it's on port 8000.
The command output looks like this:

roundup@admin-00:~/frodo$ mod_wsgi-express start-server --https-port 8080 2>&1 | tee mod_wsgi-express.out
Server URL         : http://localhost:8000/
Server URL (HTTPS) : https://localhost:8080/
Server Root        : /tmp/mod_wsgi-localhost:8000:2000
Server Conf        : /tmp/mod_wsgi-localhost:8000:2000/httpd.conf
Error Log File     : /tmp/mod_wsgi-localhost:8000:2000/error_log (warn)
Operating Mode     : daemon
Request Capacity   : 5 (1 process * 5 threads)
Request Timeout    : 60 (seconds)
Startup Timeout    : 15 (seconds)
Queue Backlog      : 100 (connections)
Queue Timeout      : 45 (seconds)
Server Capacity    : 20 (event/worker), 20 (prefork)
Server Backlog     : 500 (connections)
Locale Setting     : en_US.UTF-8

And nmap shows that port 8000 is in use, but port 8080 is not.

I suspect I have something wrong in the command statement, but I don't know what it is.
The port is not blocked by a firewall.



This message contains confidential information. If you are not the intended recipient, notify the sender immediately and delete this e-mail from your system. You should always check e-mail for viruses. Sender does not accept liability for any viruses that may be inadvertently transmitted.

Graham Dumpleton

unread,
Aug 15, 2022, 5:09:50 PM8/15/22
to mod...@googlegroups.com
You are using the option for the HTTPS port and not the HTTP port. Use the "--port" option, not "--https-port".

-- 
You received this message because you are subscribed to the Google Groups "modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to modwsgi+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/PH7PR12MB5656A717E3582814850EDDD884689%40PH7PR12MB5656.namprd12.prod.outlook.com.

Reply all
Reply to author
Forward
0 new messages