Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Tcp connection to Linux server fails Post 302892184 by bakunin on Tuesday 11th of March 2014 10:42:12 AM
Old 03-11-2014
To be honest i do not know your application, but:
Quote:
Originally Posted by unienewbie
No connection could be made because the target machine actively refused it xxx.xxx.xxx.131:1521
this looks like you have to do some configuration work in your application. For a host to open a connection it has to have a daemon running which is listening to the port where the connection is attempted.

For instance: let's say you contact a web server. This means your browser creates a message, sends it to the target server, port 80 (or whatever is configured, but 80 is the default). Behind port 80 on the target server lurks the web server process (Apache, ...), which picks the message up, does something and sends a message back (like: serves up a web page). If the web server would not listen behind port 80, nothing would happen at all - the host would "refuse the connection".

This is why i think you simply have nobody listening behind port 1521, so that no connection comes to pass.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

TCP/IP Connection getting slower...

Hi, We have developed a server program using TCP/IP Communication to communicate with another client program. After running for some days we find the TCP/IP connection from the server program is getting slower. What i mean to say is since the send() function in the server program (it is... (2 Replies)
Discussion started by: rajesh_puru
2 Replies

2. UNIX for Advanced & Expert Users

about TCP connection

Hi Experts, need help about release or refresh TCP Connection: i have the sample like below : application log connection: 0500 ( 192.168.0.1:36053) 00919 2007/05/10 23:30:25 112 13 2007/05/10 23:30:25 1969/12/31 17:00:00 0500 ( 192.168.0.1:36054) 00920 2007/05/10 23:30:26 000 00... (3 Replies)
Discussion started by: bucci
3 Replies

3. Shell Programming and Scripting

Create a TCP/IP Connection

Hello, I am trying to write a script in Perl which will send some data from a UNIX Box to a windows box. I am planning to create a TCP/IP communication port for the same. How do I go about this? Kindly help. Regards, Garric (50 Replies)
Discussion started by: garric
50 Replies

4. UNIX for Dummies Questions & Answers

Server fails to allow connection

Hi, I use bru to backup a variety of servers. One of our servers crashed and we had to do an emergency restore. It is working fine. The problem is the backup server refuses to backup the ftp server. The backup server ssh's into the servers and executed the bru command and instructs that that... (1 Reply)
Discussion started by: mojoman
1 Replies

5. IP Networking

false tcp connection

Why this happens? How to solve this? $netstat -na |grep 9325 tcp 0 0 127.0.0.1:9325 127.0.0.1:9325 ESTABLISHED When a client socket repeatedly tries to connect to an inactive(no server socket is listening on this port) local port,connect succeeds. ... (1 Reply)
Discussion started by: johnbach
1 Replies

6. Programming

TCP connection check

Hi. I am writing client - server application using TCP sockets. I need some very basic functionality, namely: how to check if another "participant" of the connection is still present? I want to handle situations, when client is gone, or server breaks down, etc. (25 Replies)
Discussion started by: Shang
25 Replies

7. Emergency UNIX and Linux Support

Ssh connection from Sun OS to Linux server

Hello, I ahve written a shell script which is doing ssh from UNIX Sun Os to multiple Linux servers one by one using loop. but after first iteration the script is getting exit. Rather it should connect to other linux server as well one by one. Please refer belwo code. #!/bin/ksh #set -x... (2 Replies)
Discussion started by: skhichi
2 Replies

8. Solaris

Too much TCP retransmitted and TCP duplicate on server Oracle Solaris 10

I have problem with oracle solaris 10 running on oracle sparc T4-2 server. Os information: 5.10 Generic_150400-03 sun4v sparc sun4v Output from tcpstat.d script TCP bytes: out outRetrans in inDup inUnorder 6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies

9. Solaris

Tcp Socket (Connection refused) to my server box

I installed a fresh copy of Solaris 7 and present up my ip and domain for my web services but when I try to connect to it I get the following error; TCPActiveOpen: connect failed tcp/192.168.1.148/7900: 146 (Connection refused). the port is open in my router but I don't no were to add it in... (5 Replies)
Discussion started by: Wpgn
5 Replies

10. Shell Programming and Scripting

Sendmail Fails to send emails from Linux server.

I m using free zoho mail client application (similar to microsoft outlook) on my mobile for all my emails to mohtashim@techx.com I wish to only recieve emails from my Linux Server details of which are: techx 3.10.0-514.10.2.el7.x86_64 #1 SMP CentOS release 7.3.1611 (Core). I try the below... (20 Replies)
Discussion started by: mohtashims
20 Replies
bubbros-client(6)						   Games Manual 						 bubbros-client(6)

NAME
bubbros-client - the bub-n-bros client SYNOPSIS
bubbros-client [ options ] [host[:port]] DESCRIPTION
This is the bub-n-bros client that connects to bub-n-bros servers started with bubbros-server(6) or bubbros(6). It supports many different audio and video drivers and is very multi-platform. OPTIONS
host Search for a game on the given machine, and connect to one if found. If this is not defined, search for servers on the local net- work. host:port Connect to server running on given port on given host. If this is not defined, search for servers on the local network. --bits=N This option concerns only the windows audio driver. Set bits per sample. Valid values are 8 and 16 (default). -d DRIVER, --display=DRIVER Use video driver DRIVER. Valid drivers are: X X Window driver for Linux and Unix systems with an X server running. See the --shm option. windows MS Windows driver. pygame PyGame gaming library for python (if installed) has video output. Use it if this is specified. See http://www.pygame.org and the --transparency option. gtk Use the PyGTK library (if installed). See http://www.pygtk.org/ and the --zoom option. -h, --help Display help. --fmt=format This option concerns only the linux audio driver. Set the sound data format. Defaults to S16_NE. You can get a list of supported formats with --fmt=list. --freq=N This option concerns only the linux and windows audio drivers. Set mixing frequency to N (in Hz). Defaults to 44100. -m, --metaserver Connect with the help of the Metaserver (see bubbros-server(1) for more info). Run bubbros-client -m to print a table of currently running servers, pick the the exact IP address and port of the server of your choice from the table, and run again bubbros-client -m host:port. --port TCP=port In conjunction with the -m option, force a specific port on which to listen for an incoming TCP connexion from the remote server. This is only used if a direct connexion to the server fails. A random port number is picked by default. This option is useful if you are behind a firewall but can let TCP connexions on specific ports reach you. --port UDP=port Force a specific port on which to listen for incoming UDP traffic (animation data). Useful if you are behind a firewall but can let UDP traffic on a given port pass through. This is optional: animation data is routed over the TCP link if it does not appear to reach the client. A random port number is picked by default. -s DRIVER, --sound=DRIVER Use driver DRIVER for audio. Valid drivers are: pygame Use the audio capabilities of the PyGame library (http://www.pygame.org). linux Use the linux audio mixer. See the --freq and --fmt options. windows Use the Windows audio mixer. See the --freq and --bitsoptions. off No sounds. --shm=yes, --shm=no This option concerns only the X display driver. Disable or enable the shm (Shared Memory) extension. It is enabled by default and should only be disabled for remote X connections and old X servers. -t Use the TCP protocol. The default is to autodetect the protocol. See the -u option. --transparency=yes, --transparency=no This option concerns only the pygame display driver. Disable or enable transparent bubbles. Enabled by default. Disabling makes game a bit faster. -u Use the UDP protocol. The default is to autodetect the protocol. See the -t option. --zoom=N% This option concerns only the gtk display driver. Scale output by N%. SEE ALSO
bubbros(6) bubbros-server(6) December 7, 2007 bubbros-client(6)
All times are GMT -4. The time now is 07:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy