04-22-2008
To connect by telnet correctly (port 23) you need to have the default gateway correctly set in you SCO 5 server. Version before 5.0.7 may not correctly use the default gateway stored in your "netconf" settings. One simple fix is to create a "start-up" script which should ensure that the default gateway is always set.
Using a text editor (like vi) create /etc/rc2.d/S99route with
#
# S99route : To specify default route to the Internet
#
/etc/route add default <ip address of your network's router / firewall>
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a new SUN server from a sister company, and have been able to network it, and ping the server...however i can't telnet into the box.
When it was at the sister companies site, we were able to telnet in then...just not not its on out network!
Does anyone have a suggestion to what i need... (3 Replies)
Discussion started by: colesy
3 Replies
2. SCO
I installed Openserver 5.0.7 and I cannot telnet to the localhost and I can't telnet from my old SCO 3.2.42 to the new SCO machine but I can ping the new machine and it will telnet to the old machine. (2 Replies)
Discussion started by: printrick
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I use a Solaris9 SPARC, NetraT4 machine which I connect to using telnet/FTP from Windows. But of late both the connections take quite a while to open a session. The problem occurs even when no one is connected to the system. The system works at normal speed once connected to. What might be... (1 Reply)
Discussion started by: mahatma
1 Replies
4. Shell Programming and Scripting
i have 2 servers
test1
production2
------------------------------------
i have script called naveed2.sh in test1.Actually i m trying to connect from scritp naveed2.sh into server production2.
below the contents of script naveed2.sh
#!/bin/ksh
telnet production2.com< n2.txt... (2 Replies)
Discussion started by: ali560045
2 Replies
5. Shell Programming and Scripting
Hi,
I have logged into a system using Telnet and iam unable to close the connection to connect to the next system using arrays.
Iam getting error "Connection Timed Out"
Iam using net::Telnet module.
Please suggest.. (1 Reply)
Discussion started by: sudhakaryadav
1 Replies
6. UNIX for Dummies Questions & Answers
Hi Everyone,
Good day.
Scenario:
2 unix servers -- A (SunOS) and B (AIX)
I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time.
Some of these sftp's fail with the following error:
ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies
7. Shell Programming and Scripting
Hi,
I am running a shell script which will spawn the telnet and login.
But sometimes, the telnet session itself is not getting spawned.
My requirement is, if the telnet session is not spawned, the user must be notified that it failed.
Is there any command to capture the status of telnet... (2 Replies)
Discussion started by: merin
2 Replies
8. Linux
Hi all,
i got stuck with telnet issue, I am not able to telnet on 4001 port it show connection refused.
with default port it will open
# telnet 127.0.0.1
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Fedora release 14 (Laughlin)
Kernel 2.6.35.6-45.fc14.i686 on... (1 Reply)
Discussion started by: muzaffar.k
1 Replies
9. Shell Programming and Scripting
I tried the below steps for telnet command from a remote server:
1. telnet myservice.com 443
2. GET / HTTP/1.0
3. Press enter key twice
Please see the output below: bash-3.2$ hostname
remoteserver1
bash-3.2$ telnet myservice.com 443
Trying 191.172.172.133...
Connected to... (7 Replies)
Discussion started by: mohtashims
7 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I'm trying to learn and automate some tasks via a script, but my first ever script failed with "connection closed by foreign host" error. I checked the other discussions but it didn't help. Could you please help?
#!/bin/bash
( sleep 2
echo open x.x.x.x 23
sleep 2
echo user
sleep 2... (1 Reply)
Discussion started by: Myrtle
1 Replies
LEARN ABOUT DEBIAN
poe::component::server::simplehttp::connection
POE::Component::Server::SimpleHTTP::Connection(3pm) User Contributed Perl Documentation POE::Component::Server::SimpleHTTP::Connection(3pm)
NAME
POE::Component::Server::SimpleHTTP::Connection - Stores connection information for SimpleHTTP
SYNOPSIS
use POE::Component::Server::SimpleHTTP::Connection;
my $connection = POE::Component::Server::SimpleHTTP::Connection->new( $socket );
# Print some stuff
print $connection->remote_port;
DESCRIPTION
This module simply holds some information from a SimpleHTTP connection.
METHODS
my $connection = POE::Component::Server::SimpleHTTP::Connection->new( $socket );
$connection->remote_ip(); # Returns remote ip in dotted quad format ( 1.1.1.1 )
$connection->remote_port(); # Returns remote port
$connection->remote_addr(); # Returns true remote address, consult the L<Socket> POD
$connection->local_addr(); # Returns true local address, same as above
$connection->local_ip(); # Returns local ip in dotted quad format ( 1.1.1.1 )
$connection->local_port(); # Returns local port
$connection->dead(); # Returns a boolean value whether the socket is closed or not
$connection->ssl(); # Returns a boolean value whether the socket is SSLified or not
$connection->sslcipher(); # Returns the SSL Cipher type or undef if not SSL
$connection->ID(); # unique ID of this connection
EXPORT
Nothing.
SEE ALSO
POE::Component::Server::SimpleHTTP, POE::Component::Server::SimpleHTTP::Response
AUTHOR
Apocalypse <apocal@cpan.org>
Chris "BinGOs" Williams <chris@bingosnet.co.uk>
COPYRIGHT AND LICENSE
Copyright X Apocalypse and Chris Williams
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-12-28 POE::Component::Server::SimpleHTTP::Connection(3pm)