LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Port not listening (https://www.linuxquestions.org/questions/linux-networking-3/port-not-listening-665803/)

shadetree 08-27-2008 10:37 AM

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?

TB0ne 08-27-2008 12:20 PM

Quote:

Originally Posted by shadetree (Post 3261575)
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?

shadetree 08-27-2008 03:07 PM

I found the problem. In the service I created I needed a space in the line "server = xxx" I had "server= xxx".


All times are GMT -5. The time now is 12:30 PM.