Browse Source

Use common.PORT not 8000

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
cb14236bb4
  1. 4
      test/simple/test-tls-securepair-server.js

4
test/simple/test-tls-securepair-server.js

@ -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 = '';

Loading…
Cancel
Save