mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Use common.PORT not 8000
This commit is contained in:
@@ -94,9 +94,9 @@ var sentWorld = false;
|
||||
var gotWorld = false;
|
||||
var opensslExitCode = -1;
|
||||
|
||||
server.listen(8000, function() {
|
||||
server.listen(common.PORT, function() {
|
||||
// To test use: openssl s_client -connect localhost:8000
|
||||
var client = spawn('openssl', ['s_client', '-connect', '127.0.0.1:8000']);
|
||||
var client = spawn('openssl', ['s_client', '-connect', '127.0.0.1:' + common.PORT]);
|
||||
|
||||
|
||||
var out = '';
|
||||
|
||||
Reference in New Issue
Block a user