LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-27-2008, 10:37 AM   #1
shadetree
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
Port not listening


I created a service in xinetd and assigned a port. I added xinetd to chkconfig and set the run levels. The service shows as "on" in chkconfig --list. I opened the ports in the firewall. netstat -an does not show the port listening and I cannot connect to the port. I am using Red Hat Enterprise. What else could be keeping that port from listening?
 
Old 08-27-2008, 12:20 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,675

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by shadetree View Post
I created a service in xinetd and assigned a port. I added xinetd to chkconfig and set the run levels. The service shows as "on" in chkconfig --list. I opened the ports in the firewall. netstat -an does not show the port listening and I cannot connect to the port. I am using Red Hat Enterprise. What else could be keeping that port from listening?
The service isn't running. You don't say what service you're trying to run, or what version of RHEL either. If the service is up and running, the port will be listening. Otherwise, it won't. Running netstat -an will show it, regardless of how the firewall is configured.

Have you checked the log(s) for the service you're trying to run?
 
Old 08-27-2008, 03:07 PM   #3
shadetree
LQ Newbie
 
Registered: May 2008
Posts: 2

Original Poster
Rep: Reputation: 0
I found the problem. In the service I created I needed a space in the line "server = xxx" I had "server= xxx".
 
  


Reply

Tags
listening, port



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
Howto do Secured ssh from port https or port80(standard) to ssh d listening port 22 ? Xeratul Linux - General 4 11-23-2006 06:09 AM
listening on port 80, why ekdya Debian 5 09-27-2006 06:50 PM
postfix listening port wardjame Linux - Software 4 08-02-2006 11:08 AM
listening to a usb port fred22 Programming 0 01-11-2005 07:53 PM
sendmail listening on port 25 dskny Linux - Software 14 08-12-2003 06:52 PM

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

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