On Thu, May 28, 2009 at 2:40 AM, HELP! wrote:
> I have done that.
>
> o host port
> or
> telnet host port
>
thats pretty odd.. a quick test on my box, looks like it works fine,
phdelnnobbe:~ nnobbe$ telnet host 22
Trying xx.xx.xx.xx...
Connected to host.
Escape character is '^]'.
SSH-2.0-OpenSS
I have done that.
o host port
or
telnet host port
On Thu, May 28, 2009 at 9:39 AM, Nathan Nobbe wrote:
> On Thu, May 28, 2009 at 2:31 AM, HELP! wrote:
>
>> now I have been able to telnet to the server IP but it defaulting to port
>> 23
>> instead of the port I specified ( telnet ip port). How d
On Thu, May 28, 2009 at 2:31 AM, HELP! wrote:
> now I have been able to telnet to the server IP but it defaulting to port
> 23
> instead of the port I specified ( telnet ip port). How do u correct this
> problem
rtfm telnet
translates to
man telnet
which says
telnet host port
so put the po
now I have been able to telnet to the server IP but it defaulting to port 23
instead of the port I specified ( telnet ip port). How do u correct this
problem
On Wed, May 27, 2009 at 2:40 PM, Daniel Brown wrote:
> On Wed, May 27, 2009 at 09:08, Stuart wrote:
> >
> > There's like 37 different thi
On Wed, May 27, 2009 at 09:08, Stuart wrote:
>
> There's like 37 different things it could be, none of which have
> anything to do with PHP. You may find someone on this list willing to
> help you out, but your better bet would be to find a list more suited
> to the problem.
I will help.
2009/5/27 HELP! :
> I am using a single pc and i have enable firewall access. Could it be that
> the remote server is having trouble
There's like 37 different things it could be, none of which have
anything to do with PHP. You may find someone on this list willing to
help you out, but your better
I am using a single pc and i have enable firewall access. Could it be that
the remote server is having trouble
On Wed, May 27, 2009 at 2:02 PM, Stuart wrote:
> 2009/5/27 HELP! :
> > start> run> cmd>
> > telnet ip port
> >
> > could not connect
>
> In that case your problem is not with PHP. I sug
2009/5/27 HELP! :
> start> run> cmd>
> telnet ip port
>
> could not connect
In that case your problem is not with PHP. I suggest you talk to your
network administrator.
-Stuart
--
http://stut.net/
> On Wed, May 27, 2009 at 1:44 PM, Stuart wrote:
>>
>> 2009/5/27 HELP! :
>> > I have made the co
2009/5/27 HELP! :
> I have made the correction but the error remiins:
>
> $port ="xx";
> $ip ="xx
> $con ="tcp";
> $timeout = 30;
>
>
>
>
> $fstream = stream_socket_client("$con://$ip:$port", $errno, $errstr,
> $timeout);
>
> if($fstream){
> $str = stream_get_contents($fstream);
> print( "
I have made the correction but the error remiins:
$port ="xx";
$ip ="xx
$con ="tcp";
$timeout = 30;
$fstream = stream_socket_client("$con://$ip:$port", $errno, $errstr,
$timeout);
if($fstream){
$str = stream_get_contents($fstream);
print( "Connection successful: $str ");
}
else{
2009/5/27 HELP! :
> $port ="xx";
> $ip ="xx";
> $con =$transport = "tcp";
Which part of "See the manual for details" confused you?
You're passing ...
"$con:$ip:$port"
... which based on the above will translate to ...
"tcp:xx:xx"
... which is invalid. It should be ...
"$con://$
$port ="xx";
$ip ="xx";
$con =$transport = "tcp";
On Wed, May 27, 2009 at 1:24 PM, Stuart wrote:
> 2009/5/27 HELP! :
> > Hi,
> > error:
> > php_network_getaddresses: getaddrinfo failed: No such host is known
> >
> > $fstream = stream_socket_client("$con:$ip:$port", $errno, $errstr,
> > $tim
2009/5/27 HELP! :
> Hi,
> error:
> php_network_getaddresses: getaddrinfo failed: No such host is known
>
> $fstream = stream_socket_client("$con:$ip:$port", $errno, $errstr,
> $timeout);
>
> if($fstream){
> $br = fwrite($fstream,$login_request_block);
> $str = stream_get_contents($fstream);
>
Hi,
error:
php_network_getaddresses: getaddrinfo failed: No such host is known
$fstream = stream_socket_client("$con:$ip:$port", $errno, $errstr,
$timeout);
if($fstream){
$br = fwrite($fstream,$login_request_block);
$str = stream_get_contents($fstream);
print( "Connection successful: $st
14 matches
Mail list logo