Port is a generic term that can refer to port number (software related term), and computer hardware port. Here, questions referencing this tag refer to port numbers.

learn more… | top users | synonyms

3
votes
2answers
1k views

How to Identify Port to a Process?

I'm running a RedHat 5.5 and I was wondering how I can identify a port to a process. This is the output of netstat and I am trying to find the process associated with port 35670: $ netstat -tulnp ...
3
votes
2answers
1k views

OpenBSD has open ports in default installation

I have been considering replacing Ubuntu with OpenBSD to improve the security on my local server. I need to have ssh access to it, and I also need it to serve static web content - so the only ports I ...
3
votes
1answer
1k views

Configure SSH to listen on Port 443 on a specific IP address [duplicate]

Possible Duplicate: Allow SSH only on one of a servers IP addresses I have two IP addresses, IP1 and IP2. Currently I have set sshd to listen on port 22 and port 443. The problem is that it ...
3
votes
3answers
719 views

Directing DNS to different ports

Greetings all, I have a server with two tomcat services (one being run on port 80, the other 8080). What I'm wanting to achieve is to have two different DNS records for these two ports, so they'll ...
3
votes
2answers
62 views

Is there a section of ports reserved for in-house use?

Example uses A backend webserver that is called by the world-visible webserver. A static NAT table for the public to use a port number to specify which server they are connecting to. A software that ...
3
votes
4answers
152 views

Linking Domain Names to Port Numbers

I have a [game] server (CentOS) that has about 10 used ports. For one game in particular, I have 2 servers: a private one and a public one. The IP for them is the same, so to differentuate between ...
3
votes
4answers
673 views

How forward one port to other using ssh or any other tool?

I have a legacy application listening on port 5050 bound to localhost interface (i.e. 127.0.0.1). This app runs on a Linux box (an embedded system). I have an app, lets call it App C that runs on PC ...
3
votes
3answers
2k views

Why do nmap -p <port> and nmap -A scans show different results?

I have a C# application that I've written that listens on port 789. It is running on a Windows XP Professional computer. Running netstat -an | find "789" TCP 0.0.0.0:789 0.0.0.0:0 ...
3
votes
1answer
234 views

Automatic/scheduled check for open ports on list of servers

I need a way to configure a scheduled check for open ports on a list of servers and to get notified if something has changed from last check. what's the best way to do it? If there is some solution ...
3
votes
2answers
485 views

can visualsvn server be bound to more then one port?

I know i can go to the visualsvn server properties and specify the port and IP address. But what i would like to know is if i can specify a different port for different IP addresses? For example, say ...
3
votes
3answers
530 views

Use default options when compiling ports

I am compiling a few ports on FreeBSD, however during the compiling process I am often greeted with options for the dependencies of the port. This causes the compiling process to pause until I select ...
3
votes
3answers
6k views

Port 135 / epmap

I'm looking at securing a web server (Windows Server 2008). A GRC port scan recommended that I close down port 135 (https://www.grc.com/port_135.htm). However, I've done this before with Windows ...
3
votes
1answer
184 views

Unable to access NTPD server except on loopback address Centos 6

I can only get results from: ntpq -p localhost or ntpq -p 127.0.0.1 If, from the same server, I try it as either the external IP address or domain name then it times out with no response. ntpq -p ...
3
votes
2answers
1k views

How do i open the RDP port in Linux?

Prologue I have a MacBook and i want to connect to a remote Windows machine, which is connected to a Linux Server. When i'm at my locally there in the network, i use the ...
3
votes
4answers
3k views

how to check connectivity to server by windows tools?

I need to check if client can connect to server on specific TCP port. Server is listening on it. Tried "telnet server_IP port" but telnet is stuck when I see that it's connected to the server. Seems ...
3
votes
2answers
197 views

Port Knocking and TCP/IP within the OSI model

I have read that Port Knocking can be subject to false negative (type II error) due to the optimization techniques of TCP/IP. A correct port knock given by the client may be read as incorrect by the ...
3
votes
2answers
393 views

Is my linux firewall secure?

I am newbie to linux firewalls and trying to setup my systems firewall for a public facing computer. Here are my requirements: Ports 80 and 22 should be open for HTTP requests and SSH logins Since ...
3
votes
1answer
330 views

Do NATs verify the source port of a SYN received after a SYN has been sent?

I'm unsure of whether this question is more appropriate for stackoverflow or serverfault. If you think it's more suited for stackoverflow, let me know and I'll delete this and move it over. I have a ...
3
votes
2answers
139 views

After kill -9 process won't disappear and port is still bound

We have a Java server application running on Mac OS X. Occasionally this application has become unresponsive, and we have resorted to killing it with kill -9. However, the process doesn't disappear; ...
3
votes
1answer
417 views

Implementing a form of port knocking + Phone Factor = 2 Factor auth for RDP?

I have been looking into how to secure a publicly-available RDP endpoint and want to implement our two-factor authentication RADIUS server, PhoneFactor. I would like to implement the following ...
3
votes
1answer
3k views

Port 80 being used by Microsoft-HTTPAPI/2.0

It's been quite a few days that port is being used by some strange process which i don't know Initially i thought it's related to SQL Server. I tried stopping all the services which starts from SQL ...
3
votes
2answers
3k views

Opening port 5432 on ubuntu

I am trying to open port 5432 on ubuntu using ufw using sudo ufw allow 5432/tcp I then use nmap to see if port 5432 was opened and i get this: root@domain:~# sudo nmap -sS -O 127.0.0.1 Starting ...
3
votes
2answers
136 views

Hyperlinking to a site with port 443

I am having trouble finding a way to hyperlink to https://secure.mysite.net:443 I tried: <a href="https://secure.mysite.net:443/">HTTPS SSL</a> However it simply takes me to ...
3
votes
1answer
230 views

nginx: no permission to bind port 8090 but it binds to 80 and 8080

I'm struggling with some strange permission related behavior: when I configure nginx to listen to port 8080 everything works as expected, but when I use any other port I get something like 2014/01/10 ...
3
votes
1answer
443 views

Linux - TCP Source Port Reuse (and delay)

We have an application making a lot of calls to a remote web server/service. Client app is JBoss/Java on Linux (Red Hat 5), remote server is Windows 2008. There is a Cisco ACE in the way but there ...
3
votes
1answer
207 views

How to disable Xvfb using TCP ports when using pyvirtualdisplay (Python)?

Trying to use pyvirtualdisplay for Python to start some applications with a virtual Xvfb X terminal. However, we've seen port clashes and would like to disable Xvfb from using TCP ports. I have ...
3
votes
1answer
385 views

NAT with multiple gateways

I have the following setup: My Lan is 10.56.8.0/23 I have a gateway with internet access(INETIP-A) and the LAN IP 10.56.9.1 I have another gateway with internet access(INETIP-B) and the LAN IP ...
3
votes
1answer
154 views

Two applications bind to the same socket?

C:\Users\bacadmin>netstat -anov | find ":80 " TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 3976 TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 3808 TCP [::]:80 [::]:0 LISTENING 3976 The one with the process id of 3976 ...
3
votes
1answer
237 views

Restrict Port range to a user

On a server with several users I'm looking to reserve port ranges so that only one user has access to a specific port range, IE user1: 2000-2005 user2: 2006,3003 user3: 1025 In doing so, an ...
3
votes
1answer
127 views

GCCVERSION not found error when installing a FreeBSD port

I am trying to install a program using port on FreeBSD 4.7. I get this error: Couldn't find your current GCCVERSION (OSVERSION=470000) How would you fix an error like this?
3
votes
2answers
487 views

Plink/Putty fail on return

Any one have any idea why a remote command to a NetApp filer would fail when using Plink/Putty (to execute a command) across 2 networks? Everything is open both ways (multiple firewalls), but the ...
3
votes
3answers
1k views

cPanel Apache and nginx on the same server?

I'm using cPanel Apache 2 on my VPS server to host PHP / MySQL websites on port 80. So let's say we have myphp.com which just works fine. Now I installed Ruby / Rails / Passenger with nginx (also ...
3
votes
1answer
546 views

iptables + TEE doesn't work correctly

On my server, I want to duplicate all the traffic to an other host. I use iptables with TEE module: iptables -t mangle -A PREROUTING -i eth0 -j TEE --gateway IP_SERVER2 I check the rule: iptables ...
3
votes
1answer
644 views

Nginx Not Logging https / :443 Requests

I am in the process of trying to configure a Server with https and for some reason it seems the requests are not hitting nginx at all. I have everything working properly but once I go to enable ssl ...
3
votes
4answers
1k views

Varnish, hide port number

My set up is as follows: OS: CentOS 6.2 running on an OpenVZ virtual machine. Web server: Nginx listening on port 8080 Reverse proxy: Varnish listening on port 80 The problem is that Varnish ...
3
votes
2answers
420 views

Limit which ports a user can bind

I'm working on a setup for a Linux based system in which user applications are executed in Linux Containers to provide confinement and limited capabilities. Each application is launched under in a ...
3
votes
1answer
2k views

OpenVPN port-share with apache 443/10443 not working

I configured openvpn (OpenVPN 2.1.0) and apache 2 ( to listen respectively on 443 and 10443 (with modssl). The two applications are listening well: tcp 0 0 x.x.x.x:10443 ...
3
votes
4answers
3k views

Can't launch glassfish on ec2 - can't open port

I'm trying to start glassfish on an EBS-based AMI of Ubuntu 10.04 64-bit. I have used glassfish on non-ec2 servers with no problems, but on ec2 I get this message: $ sudo -u glassfish bin/asadmin ...
2
votes
3answers
213 views

Cannot log in into a server by ssh connection

was connected to a server via ssh through port 22, and decided to kill all the users connected with the root user with the following command: pkill -9 -u root Now when I try to log in by ...
2
votes
5answers
4k views

What is MonkeyCom on port 9898?

In /etc/services on a few machines I've checked, port 9898 is associated with a service called MonkeyCom: monkeycom 9898/udp # MonkeyCom monkeycom 9898/tcp # MonkeyCom The first ...
2
votes
6answers
6k views

Determining PostgreSQL's port

I know that by default PostgreSQL listens on port 5432, but what is the command to actually determine PostgreSQL's port? Configuration: Ubuntu 9.10 with PostgreSQL 8.4
2
votes
2answers
13k views

Opening up port 8080 in CentOS

I'm new to opening up ports in CentOS. I need to open up tcp port 8080 and have installed/ran nmap to find it is not open already. I've been reading about the iptables command, I have v1.3.5 installed ...
2
votes
2answers
108 views

port numbers - where to start

I would like to make my dev sites have port numbers. I thought I would just start at a certain number and increment by 1 every new site. The question is what number should I start with? I have know ...
2
votes
2answers
130 views

646/tcp open unknown

when I make nmap localhost I get PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 111/tcp open rpcbind 631/tcp open ipp 646/tcp open unknown what is the port 646 ?
2
votes
2answers
1k views

Nmap not scanning all ports

I've noticed that nmap only scans a bunch of known ports, and the only way i've managed to check 'em all is to put a "-p 0-65535" in. Why is that? am I wrong? is there a more popular way to scan all ...
2
votes
4answers
6k views

nmap on my webserver shows TCP ports 554 and 7070 open

I have a webserver that hosts various websites for me. The two services that are accessible outside are SSH and Apache2. These are running on a non-standard and standard port, respectively. All other ...
2
votes
2answers
129 views

ssh-ing to a port

Consider the following two commands: create-smtp-message | ssh -p 25 serveraccount create-smtp-message | ssh serveraccount telnet localhost 25 According to my understanding of ssh(1), they ...
2
votes
1answer
293 views

Setting up SRV records for a Minecraft server

I have a Minecraft server listening on port 25566, and I'm trying to set up an SRV record on my domain so you can access that game server by just typing the ip: play.gameserver.com. After many tries ...
2
votes
3answers
11k views

How do I check if a port is open on Red Hat Linux/CentOS

I've written a program that is suppose to implement SLP (rfc2608) and I'm having trouble testing it. I'm not sure if the port is closed or there is something out there dropping my multicast ...
2
votes
3answers
8k views

How to open OpenVPN port (1194) on server?

I have been installed OpenVPN server on my CentOs VPS, and it started successfully And try to configure iptables for it by following command: iptables -A FORWARD -m state -–state RELATED,ESTABLISHED ...