Skip to content

Probe ports before trying to listen on them. - #5

Open
garthk wants to merge 2 commits into
moorescloud:masterfrom
garthk:4-probe-ports-first
Open

Probe ports before trying to listen on them.#5
garthk wants to merge 2 commits into
moorescloud:masterfrom
garthk:4-probe-ports-first

Conversation

@garthk

@garthk garthk commented Dec 25, 2013

Copy link
Copy Markdown

Fixes #4

@garthk

garthk commented Dec 25, 2013

Copy link
Copy Markdown
Author

Whoa, there. Screwed up nicely.

@garthk

garthk commented Dec 25, 2013

Copy link
Copy Markdown
Author

Much better.

Atonement: test script to camp port 8080.

#!/usr/bin/env node 
var http = require('http');
http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Port 8080 camped. Bwa ha ha!\n');
}).listen(8080, '127.0.0.1');
console.log('Server camping port 8080.');

After only ten minutes' return to Python, semicolons look odd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web interface fails on OS X with Cisco AnyConnect Secure Mobile Client present

1 participant