Sponsored Content
Operating Systems HP-UX Connection closed by foreign host Post 302501285 by hiten.r.chauhan on Thursday 3rd of March 2011 08:18:23 AM
Old 03-03-2011
Quote:
Originally Posted by methyl
Is the server "myserv1" a HP-UX secure server? If so, your source computer may not listed in /etc/hosts.allow . There can be other reasons for "Connection closed by foreign host".
It is secure server and my computer is listed in /etc/hosts.allow.
I don't know why the connection is being closed.Smilie
 

10 More Discussions You Might Find Interesting

1. IP Networking

FTP - Connection Closed By Remote Host

Hi, I am having a problem with our AIX 4.3.3 Server accessing FTP. The error is " Connection Closed By Remote Host". Scenario: Since i put a default gateway on the server FTP connection is having a problem but when i remove the default gateway it will works fine.. Is there any way not... (1 Reply)
Discussion started by: mouglybean
1 Replies

2. Shell Programming and Scripting

ssh_exchange_identification: Connection closed by remote host

hi i am trying to connect the frontend server using ssh i got the following error ssh_exchange_identification: Connection closed by remote host can anyone help please (1 Reply)
Discussion started by: Satyak
1 Replies

3. Linux

ssh_ exchange-identification: Connection closed by remote host

Dear All, Recently our server has been giving the error: "ssh_ exchange-identification: Connection closed by remote host" The error causes the server to become in accessible via ssh and the services are stopped/hung. The server has to be restarted to make it working normal again. The... (3 Replies)
Discussion started by: vguleria
3 Replies

4. UNIX for Dummies Questions & Answers

ssh_exchange_identification: Connection closed by remote host Connection closed

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

5. Shell Programming and Scripting

shell script/telnet - Remove/Control "Connection closed by foreign host"

How do I gain control of the "Connection closed by foreign host" message telnet yields when you connect to it in a shell script? I'm using the output: #!/usr/local/bin/bash count=$(ping -c 1 $1 | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }') if ; then echo "$1 PING "... (2 Replies)
Discussion started by: phpfreak
2 Replies

6. Solaris

"Connection closed by foreign host error" in Solaris 10

Version Details Solaris version : Oracle Solaris 10 8/11 s10x_u10wos_17b X86 $ uname -a SunOS tippy178 5.10 Generic_147441-01 i86pc i386 i86pcThe Issue +++++++++ I have two solaris 10 Virtual Machines created using Virtual Box. One of my applications running on Source was trying to connect... (9 Replies)
Discussion started by: kraljic
9 Replies

7. Red Hat

Connection closed by host error in rhel 6 Linux

Hi All, I am new to Redhat Enterprise Linux 6 version. I am facing an issue with my lab server which is having RHEL6 lab1:root> uname -a Linux lab1 2.6.32-358.18.1.el6.x86_64 #1 SMP Fri Aug 2 17:04:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux I am getting this error for every 18 minutes 30... (0 Replies)
Discussion started by: go2suresh1979
0 Replies

8. Shell Programming and Scripting

Telnet Bash Script (Connection closed by foreign host.)

Hello Everyone, My following script is giving me problems, when the SIP trunk goes down and the telnet session is started and just when the command is about to complete the connection is closed then script restarts. I have noticed that as soon the script types in "sys re" or "sys rebo" or... (6 Replies)
Discussion started by: jeetz
6 Replies

9. Shell Programming and Scripting

Telnet error- Escape character is '^]' and connection closed by foreign host

In program, I want to telnet the ports present in telnet.txt file and capture screenshot of open port which is opened on new terminal. Problems: Escape character is '^]' and Connection closed by foreign host. Loop is not working properly. It only take one ports and closed the connection. ... (9 Replies)
Discussion started by: sk151993
9 Replies

10. UNIX for Beginners Questions & Answers

Telnet in script Connection closed by foreign host

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
THEFT-SERVER(1p)					User Contributed Perl Documentation					  THEFT-SERVER(1p)

NAME
theft-server - CLC-INTERCAL networking SYNOPSIS
theft-server --port=port [options] DESCRIPTION
The theft-server mediates the communication between two CLC-INTERCAL programs with the internet extension. It keeps a list of process IDs running on the current computer so it can provide lists of processes which can be engaged in INTERcal NETworking; it also responds to broadcasts allowing other CLC-INTERCAL programs on the LAN to know there is something happening on this computer. Under normal conditions, the theft-server is started automatically by a CLC-INTERCAL programs with the internet extension (unless one is already running, of course!) because the extension cannot operate without a server on the local computer. However, it is possible to start one manually, for example from a /etc/init.d or /etc/rc.d. If the program is started automatically, it uses defaults for all its configuration; when started manually, it accepts the following options: -pport / --port=port Uses the given port (number or service name) for communications, instead of using the default one from a configuration file. -lseconds / --linger=seconds Waits the specified time for a connection, then exit. The default is 600 (10 minutes). The timeout applies when the program starts and also when all existing connections are closed. This allows the program to be started on demand by CLC-INTERCAL programs, and to auto- matically exit when no longer required (unless more programs start up during the timeout). This function is disabled by setting the timeout to 0 (i.e. -l0); for example, if starting the server from /etc/init.d or equivalent one would disable the timeout. -d / --debug Tells everything it's doing (on Standard Error). Also, prevents the program from detaching from the current terminal and going into the background. BUGS
IPv6 is not yet implemented. perl v5.8.8 2008-03-29 THEFT-SERVER(1p)
All times are GMT -4. The time now is 11:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy