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 danbr...@php.net wrote:
On Wed, May 27, 2009 at 09:08, Stuart stut...@gmail.com wrote:
On Thu, May 28, 2009 at 2:31 AM, HELP! izod...@gmail.com 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
I have done that.
o host port
or
telnet host port
On Thu, May 28, 2009 at 9:39 AM, Nathan Nobbe quickshif...@gmail.comwrote:
On Thu, May 28, 2009 at 2:31 AM, HELP! izod...@gmail.com wrote:
now I have been able to telnet to the server IP but it defaulting to port
23
instead of the port I
On Thu, May 28, 2009 at 2:40 AM, HELP! izod...@gmail.com 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 '^]'.
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: $str
2009/5/27 HELP! izod...@gmail.com:
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 =
$port =xx;
$ip =xx;
$con =$transport = tcp;
On Wed, May 27, 2009 at 1:24 PM, Stuart stut...@gmail.com wrote:
2009/5/27 HELP! izod...@gmail.com:
Hi,
error:
php_network_getaddresses: getaddrinfo failed: No such host is known
$fstream = stream_socket_client($con:$ip:$port, $errno,
2009/5/27 HELP! izod...@gmail.com:
$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 ...
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{
echo
2009/5/27 HELP! izod...@gmail.com:
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(
2009/5/27 HELP! izod...@gmail.com:
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 stut...@gmail.com wrote:
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
On Wed, May 27, 2009 at 2:02 PM, Stuart stut...@gmail.com wrote:
2009/5/27 HELP! izod...@gmail.com:
start run cmd
telnet ip port
could not connect
In that case your problem
2009/5/27 HELP! izod...@gmail.com:
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,
On Wed, May 27, 2009 at 09:08, Stuart stut...@gmail.com 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
14 matches
Mail list logo