Connection refused - opening port help
From: Shmulik (shmulik28_at_yahoo.com)
Date: 02/12/04
- Next message: not availible: "Re: encrypted file system in linux like XP"
- Previous message: remove: "Re: Can I delete these safely"
- Next in thread: Ken: "Re: Connection refused - opening port help"
- Reply: Ken: "Re: Connection refused - opening port help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 12 Feb 2004 12:33:27 -0800
Newbie needs help :-)
Here's my situation:
I'm running Debian Linux, v2.4.18
I have a program written in java that starts a server socket on port
23412 and listens for commands.
I editted the iptables, so it appears as follows:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp
dpt:23412
ACCEPT tcp -- anywhere anywhere tcp
spt:23412
Here's the situation. My program (on a windows machine), opens a
telnet session to the linux box and executes a script, one of the
scripts starts my Java program - when I try to connect to the socket
(23412), the connection is refused. If I manually logon to the linux
box (under the same program credentials as what the telnet session
uses) and run the script, using a test program I can connect to the
socket and send it messages.
I've also added the PC from which I'm connecting to the Linux box into
my hosts.allow file, but no luck.
Any help would be appreciated - what should I be looking at?
Thanks!
- Next message: not availible: "Re: encrypted file system in linux like XP"
- Previous message: remove: "Re: Can I delete these safely"
- Next in thread: Ken: "Re: Connection refused - opening port help"
- Reply: Ken: "Re: Connection refused - opening port help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|