Sponsored Content
Full Discussion: listen to ports...
Top Forums UNIX for Dummies Questions & Answers listen to ports... Post 302094928 by By_Jam on Thursday 2nd of November 2006 04:50:00 AM
Old 11-02-2006
Ports

Hi,

You can use teh command :

Netstat -a , to see the ports status.
 

7 More Discussions You Might Find Interesting

1. Programming

can client connect() when server in sleep(300); after listen(fd,5);

0 .with regards to you 1 .Thank you for reading letter 2 .a Server call sleep(20) after listern(fd,5) . When the Server is in asleep,a Client connect() to it successful and send a lot of appointed data . 3 .Why ? I think that the server is in sleep (beasue I call sleep()) , it donot block at... (3 Replies)
Discussion started by: chenhao_no1
3 Replies

2. UNIX for Advanced & Expert Users

Let NTP listen only on one interface

Hallo, I have a machine which serves as NTP server. This machine has more (3) Network interfaces (+ loopback). By default NTP "binds" itself to all available interfaces, i.e. it listens on port 123 on all interfaces: netstat -an|grep 123 udp 0 0 127.0.0.1.123 *.* udp... (0 Replies)
Discussion started by: one71
0 Replies

3. Shell Programming and Scripting

Program to listen a port

I need to launch a script as soon as a file comes via a specified port on my system from another system. Program should work as a dameon and should invoke only when port start/stop accepting file. Any idea how to program/script it... Please no suggestions for cron. Thanks in advance. (1 Reply)
Discussion started by: sumitwa
1 Replies

4. Solaris

socket in listen state disappears/closes automatically

Hi, I am using solaris 10. I have opened a socket connection using java in solaris 10 operating system, the port went to LISTEN state and able to create new socket connection and the new connections went to ESTABLISHED state. If I issue the command "netstat -an | grep <<portnumber>>", I... (10 Replies)
Discussion started by: kumar3k
10 Replies

5. IP Networking

Configure squid to listen on any IP address with port 80

Hi, I am trying to configure a transparent squid cache. When I try to use the below option in squid.conf, squid listens on port 80 only for the IP address configured on the system's interface. http_port 80 transparent But I want squid to accept connections for any IP address on port 80.... (3 Replies)
Discussion started by: Learner32
3 Replies

6. Solaris

Listen given port

Good morning! I would like to test a particular port in Solaris, to see if the firewall rules are ok. Should I install an application, but as yet I have not, have to force solaris to keep an open door, and put any application listening to port 1099, and will test a terminal connectivity via... (5 Replies)
Discussion started by: poyato
5 Replies

7. HP-UX

What is the Listen Address of my process ?

Hi, We cant set the listen address of my java process to the IP address or any of the DNS names listen in the hosts file of the server. We can access the resources of the pid in the web browser through http://<IP / DNS>:port/console Based on the pid, how can we find what is the listen... (6 Replies)
Discussion started by: mohtashims
6 Replies
natutil(8)						    BSD System Manager's Manual 						natutil(8)

NAME
natutil -- Query and configure supported Network Address Translation (NAT) devices SYNOPSIS
natutil [-vx] [-a auth] [-n name] {-1 | -d | -m | -s | -i | -L} natutil [-vx] [-a auth] [-n name] {-t | -u} {-T | -U} -p ports DESCRIPTION
natutil uses the ACP protocol to detect, configure, and extract status information from Internet gateway devices (IGDs) (such as AirPort Base Stations) on the local network. Since most IGDs provide Network Address Translation (NAT) service, they are often interchangably referred to as "NAT devices" or simply "NATs". The first synopsis line (with the exception of -L) returns various information from NAT devices. The second invocation modifies settings on the device. After modifying settings, AirPort Base Stations must be rebooted for the changes to take effect. ( servermgrd(8) also reboots the AirPort Base Station when it modifies port mappings.) OPTIONS
The following options / commands are available: -1 Only return data if the IGD found is also our current gateway. [AirPort only] Will only return if this base station can be autocon- figured -a auth [AirPort only] The authentication string to use when communicating with a device protected with a password other than the default "public". Used mostly for scripted operation. Use -i to get the authentication string interactively. -i Get the authentication string interactively. This preferred over -a for security reasons. -d Reports the IGDs (Internet Gateway Devices) that were found during the discovery. -m Retrieves the port mapping table from the NAT. -n name The prefix of the targeted NAT device's name (useful in a LAN with multiple NAT devices). -p ports A comma-separated list of the ports to tap or untap. Must be used with -t or -u. -s Retrieves the WAN & LAN status and configuration from the IGD. -t Configures the NAT to forward the given ports to this machine. Requires -p and either -T or -U. -u Removes the given ports from the NAT's port forwarding rules. Requires -p and either -T or -U. -v Verbose output. Provides progress and status information on standard output. -x XML output. This option provides the most information. -L [AirPort only] Convert existing DHCP lease into a static reservation so the host will receive the same IP address after each reboot. -T Ports will be tapped / untapped for the TCP protocol. Must be used with -t or -u. -U Ports will be tapped / untapped for the UDP protocol. Must be used with -t or -u. SEE ALSO
ifconfig(8), ipconfig(8) Mac OS X Server 10.5 July 23, 2007 Mac OS X Server 10.5
All times are GMT -4. The time now is 06:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy