Lines Matching refs:port
566 my $port = ($ipvnum eq "unix") ? 80 : $port_or_path;
593 $flags .= "\"$proto://$ip:$port/${bonus}verifiedserver\"";
632 logmsg "RUN: failed to resolve host ($proto://$ip:$port/verifiedserver)\n";
636 logmsg "RUN: Unknown server on our $server port: $port ($res)\n";
649 my ($proto, $ipvnum, $idnum, $ip, $port) = @_;
670 $flags .= "\"$proto://$ip:$port/verifiedserver\"";
694 logmsg "RUN: Unknown server on our $server port: $port\n";
716 my ($proto, $ipvnum, $idnum, $ip, $port) = @_;
775 logmsg "RUN: failed to resolve host ($proto://$ip:$port/verifiedserver)\n";
779 logmsg "RUN: Unknown server on our $server port: $port\n";
791 my ($proto, $ipvnum, $idnum, $ip, $port) = @_;
806 my ($proto, $ipvnum, $idnum, $ip, $port) = @_;
845 my ($proto, $ipvnum, $idnum, $ip, $port) = @_;
914 logmsg "RUN: Unknown server on our $server port: $port ($res)\n";
924 my ($proto, $ipvnum, $idnum, $ip, $port) = @_;
938 my ($proto, $ipvnum, $idnum, $ip, $port) = @_;
955 my ($proto, $ipvnum, $idnum, $ip, $port) = @_;
970 $flags .= "\"$proto://$ip:$port/SERVER/verifiedserver\"";
994 logmsg "RUN: Unknown server on our $server port: $port\n";
1015 my ($proto, $ipvnum, $idnum, $ip, $port) = @_;
1030 $flags .= "\"$proto://$ip:$port\"";
1054 logmsg "RUN: Unknown server on our $server port: $port\n";
1103 my ($proto, $ipvnum, $idnum, $ip, $port) = @_;
1111 $pid = &$fun($proto, $ipvnum, $idnum, $ip, $port);
1130 my ($proto, $ipvnum, $idnum, $ip, $port, $do_http3) = @_;
1135 my $pid = &$fun($proto, $ipvnum, $idnum, $ip, $port, $do_http3);
1224 my $port = 0;
1226 $port = $port_or_path = pidfromfile($portfile);
1244 return (0, $httppid, $pid2, $port);
1284 my $port = getfreeport($ipvnum);
1286 my $aflags = "--port $port --port2 $port2 $flags";
1302 "http-port $port https-port $port2 ".
1306 return (0+!$http2pid, $http2pid, $pid2, $port, $port2);
1346 my $port = getfreeport($ipvnum);
1347 my $aflags = "--port $port $flags";
1362 logmsg "RUN: $srvrname server PID $http3pid port $port\n";
1365 return (0+!$http3pid, $http3pid, $pid3, $port);
1424 my $port = getfreeport($ipvnum);
1425 my $options = "$flags --accept $port";
1442 logmsg "RUN: $srvrname server is PID $httpspid port $port\n";
1447 return (0+!$httpspid, $httpspid, $pid2, $port);
1489 my $port = getfreeport($ipvnum);
1490 my $allflags = "--port $port $flags";
1505 logmsg "RUN: $srvrname server PID $httptlspid port $port\n";
1507 return (0+!$httptlspid, $httptlspid, $pid2, $port);
1566 my $port = pidfromfile($portfile);
1568 logmsg "PINGPONG runs on port $port ($portfile)\n" if($verb);
1571 my $pid3 = verifyserver($proto, $ipvnum, $idnum, $ip, $port);
1581 logmsg "RUN: $srvrname server is PID $ftppid port $port\n" if($verb);
1584 $PORT{$proto . ($ipvnum == 6? '6': '')} = $port;
1631 my $port = getfreeport($ipvnum);
1632 my $options = "$flags --accept $port";
1651 logmsg "RUN: $srvrname server is PID $protospid port $port\n";
1654 return (0+!$protospid, $protospid, $pid2, $port);
1712 my $port = pidfromfile($portfile);
1715 my $pid3 = verifyserver($proto, $ipvnum, $idnum, $ip, $port);
1726 logmsg "RUN: $srvrname server on PID $tftppid port $port\n";
1729 return (0, $pid2, $tftppid, $port);
1788 my $port = pidfromfile($portfile);
1791 my $pid3 = verifyserver($proto, $ipvnum, $idnum, $ip, $port);
1802 logmsg "RUN: $srvrname server PID $rtsppid port $port\n";
1805 return (0, $rtsppid, $pid2, $port);
1858 my $port = getfreeport($ipvnum);
1860 push @tports, $port;
1862 my $options = "$flags --sshport $port";
1876 logmsg "RUN: failed to start the $srvrname server on $port\n";
1888 if(verifysftp('sftp', $ipvnum, $idnum, $ip, $port) < 1) {
1898 logmsg "RUN: failed to verify the $srvrname server on $port\n";
1926 logmsg "RUN: $srvrname on PID $pid2 port $port\n" if($verb);
1928 return (0, $pid2, $sshpid, $port);
1938 my $port = protoport($proto);
2046 my $port = pidfromfile($portfile);
2052 return (0, $pid2, $sockspid, $port);
2094 my $port = getfreeport($ipvnum);
2095 my $aflags = "--port $port $flags";
2110 logmsg "RUN: $srvrname server PID $dictpid port $port\n";
2113 return (0+!$dictpid, $dictpid, $pid2, $port);
2155 my $port = getfreeport($ipvnum);
2156 my $aflags = "--port $port $flags";
2171 logmsg "RUN: $srvrname server PID $smbpid port $port\n";
2174 return (0+!$smbpid, $smbpid, $pid2, $port);
2215 my $port = getfreeport($ipvnum);
2216 my $aflags = "--port $port $flags";
2231 logmsg "RUN: $srvrname server PID $ntelpid port $port\n";
2234 return (0+!$ntelpid, $ntelpid, $pid2, $port);
2285 my $port;
2292 $port = protoport($protoip);
2299 return &responsiveserver($proto, $ipvnum, $idnum, $ip, $port);
2309 my $port = protoport($proto);
2317 $port = protoport('rtsp6');
2321 return &responsiveserver($proto, $ipvnum, $idnum, $ip, $port);
2331 my $port = protoport($proto);
2339 $port = protoport('tftp6');
2343 return &responsiveserver($proto, $ipvnum, $idnum, $ip, $port);
2355 my $port = protoport($proto);
2360 $port = protoport("httptls6");
2364 return &responsiveserver($proto, $ipvnum, $idnum, $ip, $port);
2750 my $port;
2751 ($serr, $pid, $pid2, $port) =
2753 $PORT{'gopher'} = $port;
2758 logmsg "GOPHERPORT => $port\n" if($verbose);
2762 my $port;
2763 ($serr, $pid, $pid2, $port) =
2765 $PORT{'gophers'} = $port;
2771 logmsg "GOPHERSPORT => $port\n" if($verbose);
3057 my $port;
3083 $port = protoport(lc $proto);
3084 $$thing =~ s/${prefix}(?:$proto)PORT/$port/g;
3087 $port = protoport('httpproxy');
3088 $$thing =~ s/${prefix}PROXYPORT/$port/g;