11-07-2012
So first of all:-
- Why are you targeting port 15001? Port 15001 is not a standard port number that I am aware of. I presume you have some reason for it.
- Is the port in /etc/services? Could you post the output from grep 15001 /etc/services
- Is the service in /etc/inetd.conf? Using the name returned above (e.g. my-svc tcp/15001) could you post the output from grep my-svc /etc/inetd.conf
- Is the server listening? On the target server, could you run netstat -na|grep 15001 and post the response. If you have lsof installed, could you post the output from lsof -i tcp:15001
- Is the listener logging an error, if you know where it would?
From your telnet attempt, it would suggest that the server is listening, but doesn't respond to telnet, and why should it. It is presumably a different service.
What more can you tell us?
Thanks, in advance,
Robin
Liverpool/Blackburn
UK
This User Gave Thanks to rbatte1 For This Post:
10 More Discussions You Might Find Interesting
1. Cybersecurity
"421 service not available, remote server has closed connection."
I tried to do ftp to one of the unix server .
ftp hostname
password
It get connects when i do any command it throws error
ftp> ls
"421 service not available, remote server has closed connection." (1 Reply)
Discussion started by: vishaldsh
1 Replies
2. 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
3. UNIX for Advanced & Expert Users
Hi All,
When i try to do ssh from a linux to solaris box its throughing "Connection closed by remote host". Please not that this error is not occuring every time i do ssh, it occurs at random timing( Mostly ssh is successful) - unfortunately my script which is doing ssh is falling at this time... (4 Replies)
Discussion started by: pkumar7
4 Replies
4. Shell Programming and Scripting
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
5. Solaris
OS: Solaris 8 Sparc
server1:userA:/home/userA# ssh userB@server1
Connection closed by < IP address>
Problem: From being a userA, I am unable to connect/ssh to the same server as when trying to use a different account. (userB)
Do you know where can i start checking? Here are some... (3 Replies)
Discussion started by: hrist
3 Replies
6. HP-UX
I am trying to connect to my HP server from remote machine.
It gets connected but once credential are provided the connection is closed.
adroit:/home/seo/hitendra 32 ] telnet myserv1
Trying...
Connected to myserv1.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED... (4 Replies)
Discussion started by: hiten.r.chauhan
4 Replies
7. Red Hat
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
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
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
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
update-inetd
UPDATE-INETD(8) rlinetd UPDATE-INETD(8)
NAME
update-inetd - manage rlinetd (and inetd) configuration entries
SYNOPSIS
update-inetd [options] --add ENTRY
update-inetd [options] --remove SERVICE
update-inetd [options] --enable SERVICE
update-inetd [options] --disable SERVICE
DESCRIPTION
update-inetd is a rlinetd's compatibility script, which can be used to by various Debian post-installation scripts to manage services in
rlinetd configuration files directory /etc/rlinetd.d.
update-inetd will spawn update-inetd.real(8) for managing entries in /etc/inetd.conf file. Please see update-inetd.real(8) for details.
ACTIONS
--add ENTRY
Adds an entry, which should be a line in a inetd.conf(5) format.
--remove SERVICE
Removes a service.
--enable SERVICE
Enables a service.
--disable SERVICE
Disables a service.
OPTIONS
--version
Prints version information on standard output and exit successfully.
--debug
Enables debugging mode. Note the option is also passed to update-inetd.real(8).
Any other option is passed directly to update-inetd.real(8).
FILES
/etc/rlinetd.conf, /etc/rlinetd.d/*, /etc/inetd.conf
SEE ALSO
update-inetd.real(8), inetd.conf(5), rlinetd.conf(5), inetd2rlinetd(8)
AUTHOR
Robert Luberda <robert@debian.org>
Debian January 3rd, 2009 UPDATE-INETD(8)