10-22-2009
oops, you are right, dukessd - my bad, sorry. One shouldn't write posts before having had enough coffee to fire up the debugging engine.
bakunin
10 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
I need your help please.
In order to run a script after a ftp connection, ive got initially this problem:
from unix pc machine to a Unix server i could ftp succesfully but in reverse (i mean from unix to pc machine i cant ftp. The error message is this
ftp 192.168.29.90
ftp: connect: Connection... (1 Reply)
Discussion started by: alexcol
1 Replies
3. IP Networking
Hi there,
Anything will help.
I have running server on computer and want to connect from some clients.
Server:
memset(&hints, 0, sizeof(hints));
hints.ai_family = domain;
hints.ai_socktype = SOCK_STREAM;
error = getaddrinfo("localhost", "8300", &hints, &res0);
if (error)
{
... (1 Reply)
Discussion started by: Dudu1984
1 Replies
4. Programming
OS : Solaris sparc
In c program After socket created when I do Connect() it results "Connection refused", but the system is online and I am able to do telnet, ping everything, but it says connection refused.
What would need to correct ? (6 Replies)
Discussion started by: satish@123
6 Replies
5. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
6. UNIX and Linux Applications
I dont' what happened with my servers (test servers only) but I just noticed that suddenly I cannot up the domain anymore (Sun Java System Application Server 9.1_01).
a. server.log
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the... (1 Reply)
Discussion started by: lhareigh890
1 Replies
7. UNIX for Advanced & Expert Users
Hi- While trying ftp from AIX to Windows im getting below error. Can anyone share ur views on this topic.
root@AB101# ftp -n 10.192.168.68
ftp: connect: A remote host refused an attempted connect operation.
ftp>
Thanks. (3 Replies)
Discussion started by: yanis
3 Replies
8. Debian
I have two computers running Debian 6.0 and one running Solaris 2.6 on a private network. The Debian computers can ftp to the Solaris computer but if a Debian computer is the destination the ftp connection is refused. I assume this is some security feature of Debian. What can I do to allow... (2 Replies)
Discussion started by: snorkack59
2 Replies
9. Shell Programming and Scripting
Hi I am trying to execute a shell script which is in unix server gs1. The script is below which basically connects to another unix server q15 and tries to get a file using FTP .
But i get error as "ftp: connect: Connection refused
Not connected.
Not connected."
Please help with if the below... (8 Replies)
Discussion started by: samrat dutta
8 Replies
10. Programming
The below error message I started seeing using Ubuntu 14.04 and was wondering if the forum has seen it because I cant seem much on the net for this:
perl -e 'use IO::Socket::SSL qw(debug3);IO::Socket::SSL->new(PeerAddr=>"10.0.0.100",PeerPort=> 443,Proto=>"TCP") or die $!'
DEBUG:... (1 Reply)
Discussion started by: metallica1973
1 Replies
LEARN ABOUT DEBIAN
tcpclient
tcpclient(1) General Commands Manual tcpclient(1)
NAME
tcpclient - create an outgoing TCP connection
SYNOPSIS
tcpclient [ -46hHrRdDqQv ] [ -ilocalip ] [ -plocalport ] [ -Ttimeoutconn ] [ -llocalname ] [ -ttimeoutinfo ] [ -Iinterface ] host port pro-
gram [ arg ... ]
DESCRIPTION
tcpclient attempts to connect to a TCP server. If it is successful, it runs program with the given arguments, with descriptor 6 reading
from the network and descriptor 7 writing to the network.
The server's address is given by host and port. host may be 0, referring to the local machine, or a dotted-decimal IP address, or a host
name; if a host has several IP addresses, tcpclient tries each in turn. port may be a numeric port number or a port name.
tcpclient sets up several environment variables, as described in tcp-environ(5).
OPTIONS
-ilocalip
Use localip as the IP address for the local side of the connection; quit if localip is not available.
-plocalport
Use localport as the port number for the local side of the connection; quit if localport is not available.
-Iinterface
Use interface as the local network interface. This is only defined for IPv6 sockets and needed if you use link-local IPv6
addresses.
-Ttimeoutconn
Give up on the connection attempt after timeoutconn seconds. Default: 60. This timeout applies to each IP address tried.
-d (Default.) Delay sending data for a fraction of a second whenever the remote host is responding slowly, to make better use of the
network.
-D Never delay sending data; enable TCP_NODELAY. This is appropriate for interactive connections.
-q Quiet. Do not print any messages.
-Q (Default.) Print error messages.
-v Verbose. Print all available messages.
DATA-GATHERING OPTIONS
-h (Default.) Look up the remote host name for TCPREMOTEHOST.
-H Do not look up the remote host name; unset TCPREMOTEHOST.
-llocalname
Do not look up the local host name; use localname for TCPLOCALHOST.
-r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host.
-R Do not attempt to obtain TCPREMOTEINFO from the remote host.
-ttimeoutinfo
Give up on the TCPREMOTEINFO connection attempt after timeoutinfo seconds. Default: 26.
-4 Fall back to IPv4 sockets. This is necessary for terminally broken systems like OpenBSD which will not let IPv6 sockets connect to
V4-mapped IPv6 addresses. Please note that this also applies to DNS lookups, so you will have to use an DNS resolver with an IPv6
address to connect to IPv6 systems. Use DNSCACHEIP to set the DNS resolver IP dynamically.
-6 Force IPv6 mode in UCSPI environment variables, even for IPv4 connections. This will set $PROTO to TCP6 and put IPv4-mapped IPv6
addresses in TCPLOCALIP and TCPREMOTEIP.
SEE ALSO
date@(1), finger@(1), http@(1), mconnect(1), tcpcat(1), tcpserver(1), who@(1), tcp-environ(5)
tcpclient(1)