Skip to content

Instantly share code, notes, and snippets.

@Demontager
Created July 30, 2014 19:33
Show Gist options
  • Save Demontager/86e07890fd2a0d6d1dc1 to your computer and use it in GitHub Desktop.
Save Demontager/86e07890fd2a0d6d1dc1 to your computer and use it in GitHub Desktop.
$ sudo ./server.py
192.168.43.220 - - [30/Jul/2014 20:23:57] "GET / HTTP/1.1" 200 -
192.168.43.220 - - [30/Jul/2014 20:24:02] "POST /cgi-bin/server.py HTTP/1.1" 200 -
Traceback (most recent call last):
File "/tmp/www/cgi-bin/server.py", line 19, in <module>
http.server.CGIHTTPRequestHandler
File "/usr/lib/python3.4/socketserver.py", line 429, in __init__
self.server_bind()
File "/usr/lib/python3.4/http/server.py", line 133, in server_bind
socketserver.TCPServer.server_bind(self)
File "/usr/lib/python3.4/socketserver.py", line 440, in server_bind
self.socket.bind(self.server_address)
PermissionError: [Errno 13] Permission denied
192.168.43.220 - - [30/Jul/2014 20:24:02] CGI script exit status 0x100
^CShutting down the web server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment