LinuxQuestions.org
Help answer threads with 0 replies.
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 09-06-2004, 12:01 PM   #1
klinton
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat
Posts: 4

Rep: Reputation: 0
How to open port 7025 on RedHat 9.0


I'm running RedHat 9.0 without a firewall and need to connect to port 7025 so that I can configure Surgemail. My browser gets a refused conection and I have confirmed the port is closed with Nmap

Thanks for any help.
 
Old 09-06-2004, 12:44 PM   #2
nitin_batta
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat Enterprise Server 2.1
Posts: 96

Rep: Reputation: 15
This either means you have a firewall or some default iptable rules or you Surgemail might not be listening on the port 7025

You just need to have a look at surgemail's conf file to check if it has some settings on allow or deny of some ip blocks.

The best way to check if Surgemail is listening for connections is to log in to the machine running it:

$telnet localhost 7025
 
Old 09-06-2004, 05:38 PM   #3
klinton
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat
Posts: 4

Original Poster
Rep: Reputation: 0
Nitin,

I tried running telnet localhost:7025 and I get a name or service not known.When I try connecting to 7025 from the web browser I also get connection refused.

I checked surgemail's config file and it is set to accept https://myserver:7025 for admin setup.

I checked firewall settings from the gui and it is set at "no firewall" I'm not sure how to check default iptable rules, but I didn't think any were set.

Thankyou,

Kirk
 
Old 09-06-2004, 05:45 PM   #4
netopia
LQ Newbie
 
Registered: Sep 2004
Location: Boston, MA
Distribution: fedora core 2
Posts: 28

Rep: Reputation: 15
Type iptables --list to see the firewalls currently active.
Also when telnetting on a linux machine do not use a colon to specify port number e.g.:
telnet localhost 7025
a space, no colon, try that again - because it is important to find out whether the problem is local (surgemail not listening) or whether it is on the borders (i.e. firewall which you don't seem to think you have.)
 
Old 09-06-2004, 06:33 PM   #5
jon3k
Member
 
Registered: Jun 2003
Posts: 52

Rep: Reputation: 15
Can you verify the service started successfully?

ps aux | grep surgemail

(or whatever the name of the binary is, I'm assuming surgemail, could be wrong. Never heard of it before.)
 
Old 09-07-2004, 07:55 AM   #6
klinton
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, the Surgemail service started successfully and is running. I tried to telnet to port 7025 with the correct syntax and it will not connect, but it will connect to just the server without the port being specified. I tried iptables --list and got a command not found.
 
Old 09-07-2004, 08:00 AM   #7
symen
Member
 
Registered: Sep 2004
Location: Dublin
Distribution: Debian 3
Posts: 61

Rep: Reputation: 15
Try running "netstat -l" it will tell you on which ports your server is listening.
Is port 7025 in that list?
 
Old 09-07-2004, 08:46 AM   #8
klinton
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat
Posts: 4

Original Poster
Rep: Reputation: 0
No, port 7025 is not in the list of netstat -l.
 
Old 09-07-2004, 01:42 PM   #9
nitin_batta
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat Enterprise Server 2.1
Posts: 96

Rep: Reputation: 15
Quote:
No, port 7025 is not in the list of netstat -l.
Then you need to check you Surgemail config again looks like there is no service listening on the port.
 
Old 09-07-2004, 05:21 PM   #10
klinton
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, you are correct. The ini file was set to listen but it didn't because I had a conflicting imap on port 143 that it didn't like. I removed the prior imap server and Surgemail now listens to 7025.


Thanks to all!!
 
  


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
How do I open Rsync Port (873) in RedHat 9 farmerjoe Linux - General 2 10-12-2005 05:42 AM
cannot SFTP to SUSE 9.2 box, port 22 open, can putty in though using same port. jgrady Linux - Networking 6 03-29-2005 08:44 AM
how to open a port in the firewall redhat bosewicht Linux - Newbie 2 12-01-2003 09:15 PM
firewall.rc.config says :"open port 8080" but nmap says port is closed saavik Linux - Security 2 02-14-2002 12:16 PM
How To Open Port 443 On RedHat 7.1 sc300t Linux - General 4 02-07-2002 09:40 AM

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

All times are GMT -5. The time now is 08:04 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