Sponsored Content
Full Discussion: TCP Ports
Special Forums IP Networking TCP Ports Post 3347 by blacksheep on Friday 29th of June 2001 10:26:13 AM
Old 06-29-2001
Question TCP Ports

We are being setup with a client over their VPN to support them remotely. We are unable to access their VPN through our server, they said to look and make sure that the TCP ports are enabled for their security setup (ports are in the 4000 range).

How do you look for this and how do you enable a range if it is not already enabled?Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

TCP Listening Ports

Hello all, Can someone instruct me on how to change the listening port for ftp ( or any tcp service) from 21 to another port number? Thanks in advance.. -AJ (3 Replies)
Discussion started by: jacobsa
3 Replies

2. UNIX for Dummies Questions & Answers

TCP/UDP Ports

Just starting to work with unix, wondering if there is any good on-line documentation explaining TCP/UDP ports, how to use them, etc... Thanks.... (1 Reply)
Discussion started by: eugene_mayo
1 Replies

3. IP Networking

TCP/UDP Ports

Just wondering if anyone knows of any good on-line documentation on TCP/UDP Ports. Basically i want to know how to check if they are in use, learn how to close them, etc... Thanks... (5 Replies)
Discussion started by: eugene_mayo
5 Replies

4. UNIX for Advanced & Expert Users

TCP ports - TIME_WAIT

What is the maximum number of TCP ports that can be consumed at any one time? How can I determine what the number is or increase it? I was under the impression that with our system (UnixWare 7.1.1) 1024 was the maximum under our current Kernel tuning parms, but I think that is really just... (4 Replies)
Discussion started by: dlkox
4 Replies

5. Windows & DOS: Issues & Discussions

TCP ports and file sharing

In using a music file sharing program (WinMx), I am told that I cannot make a primary connection (fastest downloads) because I do not have a TCP and UDP port. I am running Windows Me.What do I do? Thanks. (6 Replies)
Discussion started by: dookster5
6 Replies

6. UNIX for Advanced & Expert Users

TCP slow access though certain ports

hi, I'm currently running with an issue whereby we are experiencing very poor access speeds to our Informix database. Connections or requests to the DB are taking in excess of 2/3/4 minutes during peek periods during the day. This has only just started to happen but so far we have been unable to... (0 Replies)
Discussion started by: fastyan
0 Replies

7. UNIX for Dummies Questions & Answers

Opening TCP ports

I'm not sure if this is the right place for this post, but I'd be grateful if somebody could please help me. I'm trying to open ports 999, 1982 and 1983 but am not having much luck. I used iptables -A INPUT -i eth0 -p tcp --sport 999 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A INPUT -i... (2 Replies)
Discussion started by: thehaapyappy
2 Replies

8. IP Networking

problem opening TCP ports

Please can somebody help me. I'm trying to open ports 999, 1982 and 1983 but am not having much luck. I used iptables -A INPUT -i eth0 -p tcp --sport 999 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A INPUT -i eth0 -p tcp --sport 1982 -m state --state NEW,ESTABLISHED -j ACCEPT iptables... (5 Replies)
Discussion started by: thehaapyappy
5 Replies

9. Solaris

List TCP ports with process

Hello, One of our developers is asking for a command/script in Solaris similar to "netstat -anp" in Linux. He gave this output as an example: root@xxx:~# netstat -anp | grep LISTEN tcp 0 0 0.0.0.0:7937 0.0.0.0:* LISTEN 16082/nsrexecd tcp 0 ... (7 Replies)
Discussion started by: vimes
7 Replies

10. Shell Programming and Scripting

Sheel Scripting to lock 2 TCP unused ports in solaris and linux

My requirement is I need to write a program in shell scripting to check 2 TCP unused unique port numbers in SOLARIS and I have to lock the same ports so that it will not be used in any other new process and the same port numbers should be used and locked in the LINUX machine to communicate... (2 Replies)
Discussion started by: sreeramr30
2 Replies
XAddHost(3X11)							     MIT X11R4							    XAddHost(3X11)

Name
       XAddHost, XAddHosts, XListHosts, XRemoveHost, XRemoveHosts, XSetAccessControl, XEnableAccessControl, XDisableAccessControl, XHostAddress -
       control host access and host control structure

Syntax
       XAddHost(display, host)
	  Display *display;
	  XHostAddress *host;

       XAddHosts(display, hosts, num_hosts)
	  Display *display;
	  XHostAddress *hosts;
	  int num_hosts;

       XHostAddress *XListHosts(display, nhosts_return, state_return)
	  Display *display;
	  int *nhosts_return;
	  Bool *state_return;

       XRemoveHost(display, host)
	  Display *display;
	  XHostAddress *host;

       XRemoveHosts(display, hosts, num_hosts)
	  Display *display;
	  XHostAddress *hosts;
	  int num_hosts;

       XSetAccessControl(display, mode)
	  Display *display;
	  int mode;

       XEnableAccessControl(display)
	  Display *display;

       XDisableAccessControl(display)
	  Display *display;

Arguments
       display	 Specifies the connection to the X server.

       host	 Specifies the host that is to be added or removed.

       hosts	 Specifies each host that is to be added or removed.

       mode	 Specifies the mode.  You can pass or

       nhosts_return
		 Returns the number of hosts currently in the access control list.

       num_hosts Specifies the number of hosts.

       state_return
		 Returns the state of the access control.

Description
       The function adds the specified host to the access control list for that display.  The server must be on the same host as the client issu-
       ing the command, or a error results.

       can generate and errors.

       The function adds each specified host to the access control list for that display.  The server must be on the same host as the client issu-
       ing the command, or a error results.

       can generate and errors.

       The function returns the current access control list as well as whether the use of the list at connection setup was enabled or disabled.
       allows a program to find out what machines can make connections.  It also returns a pointer to a list of host structures that were allo-
       cated by the function.  When no longer needed, this memory should be freed by calling

       The function removes the specified host from the access control list for that display.  The server must be on the same host as the client
       process, or a error results.  If you remove your machine from the access list, you can no longer connect to that server, and this operation
       cannot be reversed unless you reset the server.

       can generate and errors.

       The function removes each specified host from the access control list for that display.	The X server must be on the same host as the
       client process, or a error results.  If you remove your machine from the access list, you can no longer connect to that server, and this
       operation cannot be reversed unless you reset the server.

       can generate and errors.

       The function either enables or disables the use of the access control list at each connection setup.

       can generate and errors.

       The function enables the use of the access control list at each connection setup.

       can generate a error.

       The function disables the use of the access control list at each connection setup.

       can generate a error.

Structures
       The structure contains:

       typedef struct {
	 int family;	   /* for example FamilyInternet */
	 int length;	   /* length of address, in bytes */
	 char *address;    /* pointer to find the address */
       } XHostAddress;

       The family member specifies which protocol address family to use (for example, TCP/IP or DECnet) and can be or The length member specifies
       the length of the address in bytes.  The address member specifies a pointer to the address.

Diagnostics
       A client attempted
		 to modify the access control list from other than the local (or otherwise authorized) host.

       Some numeric value falls outside the range of values accepted by the request.
		 Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument
		 defined as a set of alternatives can generate this error.

See Also
       XFree(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

																    XAddHost(3X11)
All times are GMT -4. The time now is 05:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy