LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2006, 11:12 PM   #1
JoeyWong
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
connection refused, tcp betwee client and server on different pc on same lan


Hi,

i'm newbie in network programming, i am learning "unix networkprogramming"(W.Richard Stevens), at page 138, it says "If we run the client and server onn different hosts, the signal handler is normally executed two times...", the question is, when i run the server on host A, then run the client on host B, it says "connect error:connection refused". But when i run client/server on same host it works fine. please help me, thanks

two host(suse 9.3 and redhat 8.0) connect to same hub, the hub connects to one router, router connects to adsl modem. i can ping each other.

thanks again

ps: my english is very poor, if there is something i said rude or unpolite, please ...

Last edited by JoeyWong; 05-13-2006 at 11:13 PM.
 
Old 05-14-2006, 02:14 AM   #2
JoeyWong
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thanks everybody

this is my fault
my security level on host running redhat is high, i set it back to middle, now everything is OK
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Client refused to connect to printer via print server kgao Linux - Networking 3 02-10-2005 08:31 PM
connection refused by X server for root user nemesix Linux - Newbie 3 11-02-2004 12:46 PM
Tcp/ip Client Server Problem tushar123 Programming 2 03-31-2004 05:16 PM
cvs server connection refused mindcry Linux - Software 0 07-14-2003 05:01 PM
Server/Client-commucation via TCP-Sockets cYbORg Programming 5 05-18-2003 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration