Port not working


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Port not working
# 1  
Old 07-21-2006
Data Port not working

Hi all,

I am trying to run a listener through a certain port. The listener starts with no errors but when I do a netstat -n |grep "portNo". It does not show there. I have added the port details into the /etc/services file.

If anyone can assist it would be greatly appreciated.
Thanks
Ryan
# 2  
Old 07-21-2006
Try grepping for the service name that you have entered in the /etc/services file. It may be that the service name is being shown by netstat instead of the port number.
# 3  
Old 07-21-2006
Thanks Blowtorch but still coming up with nothing.
# 4  
Old 07-21-2006
Are you sure that the listener has started up properly? Can you run 'netstat -an|more' and then use the search feature in more to check the output?
# 5  
Old 07-21-2006
I can connect from another machine through that port so I assume it's working correctly. This is the output from netstat -an regarding the specific port number:
tcp 0 0 *."portNo" *.* LISTEN
# 6  
Old 07-21-2006
Yes. There is another way to check if a port is listening on a particular server. Runthis command:
Code:
telnet servername portno

If this goes through (allows you to supply an escape char ^]), then there is a process listening at the specified port on that server.

Note that there should be no firewalls between the two servers, or you may get an incorrect output.
# 7  
Old 07-21-2006
Thanks Blowtorch, I can connect to that server via that port.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. IP Networking

Port Forwarding not working

Hello Gurus, I have configured port forwarding at router. But after configuration I am not able to connect the computer from outside/Over internet/Remote desktp from other computer. Could you please advice? Thanks- Pokhraj (2 Replies)
Discussion started by: pokhraj_d
2 Replies

2. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

3. Solaris

Cabling and adapters to communicate to service processor serial port from Windows PC with USB port.

Hello, I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build. The first part is what confuses me -the cabling. I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies

4. IP Networking

telnet for port 5433 is not working while it works for port 22

Hi, I am trying to set up a dev environment and I have Ubuntu server (10.16.1.92) and a CentOS VM (10.16.3.235) on this. On the CentOS I have a program running on port 5433. Now my problem is that I am unable to telnet this port from another Windows server whereas I can telnet port 22 from... (5 Replies)
Discussion started by: rishav
5 Replies

5. Solaris

Sata 2 port not working

I have installed Solaris 11 Express on my machine. On my GA-X58A-UD5 motherboard there are two 6 Gb/s SATA ports (Marvell 9128 chip), but when I connect a hard drive to one of them, the system does not recognize it. However, when I boot from a USB install image (downloaded from here Oracle... (1 Reply)
Discussion started by: RychnD
1 Replies

6. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

7. Shell Programming and Scripting

Not working Port reachable script

#!/bin/bash IP=192.168.45.1 telnet $IP 80 >> /dev/null if then echo "Port is Reachable" else echo "Port is not Reachable" fi I am tried many times but It's not working at yet.. (1 Reply)
Discussion started by: thakshina
1 Replies

8. AIX

177 port is up but xmanager is not working in AIX 6.1

Dear Friends, Recently we have to use AIX 6.1 IBM unix server . Here the 177 port is up and also inetd service is up . But we cannot access to the server using X-manager software . server's output : bash-3.00# netstat -nat | grep 177 udp4 0 0 *.177 *.* We have another server AIX-5.3 .... (0 Replies)
Discussion started by: shipon_97
0 Replies

9. Solaris

How i test the UDP port is working?

Hi anybody know how to test out the UDP port working? cos UDP cannot use telnet to test... Sumemr (2 Replies)
Discussion started by: summerpeh
2 Replies
Login or Register to Ask a Question