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

5
votes
1answer
974 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 ...
5
votes
1answer
4k views

Installing gitosis and closed port?

I'm trying to install gitosis on a Server (hosted by OVH and running Ubuntu server 11.04). I've done it a few times and never had any problems. But this time I have something very wired when I simply ...
5
votes
2answers
3k views

What ports should be left open on a web server?

I'm going to try deploying my first web app soon, so my experience is lacking. I remember reading somewhere that port scans by bots happen within minutes of being exposed to the internet (maybe ...
5
votes
1answer
219 views

SSH & SFTP: Should I assign one port to each user to facilitate bandwidth monitoring?

There is no easy way to track real-time per-user bandwidth usage for SSH and SFTP. I think assigning one port to each user may help, but I am wondering if my approach is workable. Use case Bob, ...
5
votes
1answer
1k views

Issue with SSH on Ubuntu - Local connection ok, remote connection - Is it me or my ISP?

I have an issue with a server running Ubuntu 12.04, I am trying to set up a remote connection so I can access the server at my work from out of town. I have installed the SSH server and all that ...
5
votes
1answer
264 views

Ports below 1024

DISCLAIMER: I know how to run daemons that either listen on ports <1024 by using privbind or some iptables REDIRECT. Or more generally spoken, how to make daemons available on priviliged ports that ...
5
votes
3answers
2k views

Transparent HTTP Proxy (Windows)

I have SquidNT set up on my home network for HTTP caching and it's working great. I want to use it as a transparent proxy server, though. Googling tells me to use Softperfect Bandwidth Manager to do ...
4
votes
4answers
2k views

Hiding non-standard ports in the address bar?

Some applications (such as Plone) default to serving http on ports other than 80 (eg 8080). Typically, to view those webapps you need to load http://mysite.tld:8080 instead of just http://mysite.tld ...
4
votes
2answers
7k views

Should I use TCP or UDP to run a web server

I have just installed Apache web server on my computer. I have managed to use it locally (I can open index.php from my computer using my web browser). But I would like to make my web site available ...
4
votes
5answers
315 views

Which ports to use on a self-written tcp server

I am about to write tcp-server for a project my company is working on. The server will use several port for different tasks. During development we use just some portnumber we like: 1400, 1500, ...
4
votes
6answers
12k views

Windows Server 2008 without telnet client - how to test connecting to remote ports without installing anything new?

I'm looking to see if anyone knows of slick tricks to test connections to remote server ports from Windows server 2008 and variants that don't include the telnet client installed by default. Reason ...
4
votes
3answers
13k views

Monitor ssh on non-default port with Nagios

I just deployed Nagios on a Gentoo server and everything is fine except ssh, which it marks as "CRITICAL" because it's refusing connections. But that's because it's running on a port different from ...
4
votes
6answers
7k 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
4
votes
2answers
4k views

Finding service that is holding port 8443

I have executed the following command to get better idea of what is holding the port 8443 on server I'm trying to work on and install some new software on it. C:\Users\Administrator>netstat -abn | ...
4
votes
3answers
476 views

determining what ports a program uses

I'm trying to use wireshark to determine what ports a certain program uses. The program connects to the server fine if we are on the same network, but I obviously need to forward the ports on the ...
4
votes
6answers
8k views

Regular user using ports below 1024 [duplicate]

Is there a way on Linux (CentOS if that matters) to enable regular users to use ports below 1024? (open listening TCP socket on that port) Currently I understand that only root has privileges to use ...
4
votes
12answers
3k views

nmap shows opened port but netstat doesn't

If I scan my server with nmap, it shows that 21 port is opened. But when I login into this server and run netstat, I see nothing. $ nmap -sT server Starting Nmap 4.76 ( http://nmap.org ) at ...
4
votes
4answers
8k 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 ...
4
votes
4answers
627 views

Why was the FTP protocol designed to use more than one port?

The question is in the title. The reason I wonder this is because I'm coding an tcp service and would like to explore some of the reasons as they may shed some light on my work.
4
votes
7answers
25k views

FTP hangs on: 150 Opening ASCII mode data connection

I am setting up an FTP server on my Windows 2008 server (R2). Everything appears to be installed correctly but I am having trouble using an FTP Client to login to my FTP server. I can remote desktop ...
4
votes
3answers
176 views

Run both sshd and httpd SSL on port 443 [closed]

Is it possible by anyway (maybe with inetd) to make 443 port serve both as sshd and as httpd SSL? Perhaps by analysing the request, if request is "CONNECT", then let httpd handle the connection; if ...
4
votes
3answers
341 views

Can i safely block all ports on my sever

I have a web server running pleks and get attacked a lot every day. I configured a firewall, and there are some predefined services such as www, and ftp, etc. I am planning to block all the ports ...
4
votes
4answers
10k views

How can I redirect a port number on Linux?

I have a Tomcat application running on my Linux machine on port 8080 (www.myapplication.com:8080/myapps). I want to redirect the Tomcat port :8080 to the default HTTP port of :80 so that the ...
4
votes
3answers
2k views

Is there anyway to connect to a Switch/Router console port with a RJ45-RJ45 cable?

Normally i connect to the console port with a RJ45 -> Serial cable. (Using a SerialtoUSB adapter if im in my notebook). But for curiosity... Is there any way to connect to a console port using a ...
4
votes
3answers
644 views

How to detect which process is doing a port scan

I have Linux server running a unauthorized process (which I do not know the name of) which is doing a port scan from the server out to the internet. How do I find out which process this is and kill ...
4
votes
3answers
9k views

How to disable System service from listening on port 80 in Windows Server 2003

I'm trying to install a service on a Windows Server 2003 machine which is supposed to listen on port 80 but it fails to start because some other service is already listening on that port. So far I've ...
4
votes
7answers
12k views

Webmin and/or port 10000 not working

I've recently installed Webmin on a Ubuntu server but I can't get it to work. I asked a recent question about saving iptables but it turns out you don't need to "save" iptables changes. Anyway, I ...
4
votes
2answers
3k views

Allow iptables to allow ip range only on specifc port

In this question I see a line like this that will allow me to say "allow these ip addresses to connect" iptables -A INPUT -m iprange --src-range 10.50.10.20-80 -j ACCEPT Now, I want to further ...
4
votes
3answers
1k views

Restrict a port to a single app

I'd like to restrict a range of udp ports to a single application (or a user). What I'd like to achieve is not simply blocking a bind() from other uids, but also remove the range from a pool that can ...
4
votes
3answers
1k views

Phantom NIC issue causing eth0/1 to drop out

We are experiencing a very strange and frustrating problem. Our company has servers here in Massachusetts, as well as in California. The issues we are seeing are only on the CA hardware. Out in CA, we ...
4
votes
1answer
4k views

How to allow remote connections from non localhost clients with ssh remote port forwarding?

I have a system say "privatesys". I am trying to give access to its web server through a remote proxy using ssh remote port forwarding like below. Private sys name: privatesys Port exposed: 80 The ...
4
votes
3answers
533 views

What port should I use for my reverse proxy to Apache 2 from nginx?

I have nginx setup as the defacto port 80. I want to setup django+mod_wsgi on Apache2. I'm worried if I leave Apache2 as 80 it will cause a conflict. Is it better to avoid the headache and change ...
4
votes
1answer
1k views

Linux networking port exhaustion

I've done as much research as I could on this without digging right off in the kernel source. There seems to be a large amount of disinformation/incorrect info on the subject, so I hope this answers ...
4
votes
2answers
131 views

What are Port 45702 Visits?

Been looking in my iptables logs and there are hundreds of different IP's trying to access port 45702, Google doesn't seem to know much. They always arrive in blocks per ip Jun 3 00:59:49 ...
4
votes
1answer
419 views

Solaris ethernet ports: nge2 and nge3 are missing

There is a Sun X4100 with an interface nge0 which is configured and working. The server has a group of 4 network jacks in the back and nge0 corresponds to ethernet port 0. I tried enabling ethernet ...
4
votes
2answers
127 views

Linux Port 80 to redirect to a Windows box

I have 2 servers here at work. One is a Windows 2008 Server R2 (for safety's sake, lets use 192.168.1.100) and the other is a Fedora 14 (192.168.1.101). Currently when you hit our subdomain, ...
4
votes
2answers
2k views

fwbuilder: port forwarding incoming 222 port requests to a local machine 22 port

I am using fwbuilder to setup my iptables rules for a public server. The idea is to forward external requests from the 222 port to a local machine's ssh port. The settings i used are: NAT section ...
4
votes
1answer
561 views

How to install newer port (PHP >5.1) on older release/world?

On my FreeBSD (home) server I have installed 6.2-RELEASE-p8. This "includes" PHP 5.1. I need to install PHP 5.2 now (because of a dependency, 5.3 would probably also work). Now my (newbie) question ...
3
votes
3answers
1k views

How do high traffic sites service more than 65535 TCP connections?

If there is a limit on the number of ports one machine can have and a socket can only bind to an unused port number, how do servers experiencing extremely high amounts (more than the max port number) ...
3
votes
7answers
3k views

Stealthed vs Closed Port

I was reading a website about the difference between stealthed and closed ports. http://www.grc.com/faq-shieldsup.htm A closed port will echo a packet if closed. However, a stealthed port will not ...
3
votes
2answers
1k views

Force apache to server different directories on different ports?

For example, say I have my htdocs in: ~/public_html and those documents are being served on port 80. Is there any way to make apache server documents in: ~/public_html/something on a different ...
3
votes
4answers
572 views

Varnish on 80, nginx on 8080, on which port to put jenkins?

On my staging server, I have Varnish + Nginx. They are on port 80 and 8080. Given that I have to install jenkins, on which port I have to bind it ? (which is usually 8080 but it's already taken)
3
votes
3answers
17k 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 ...
3
votes
3answers
332 views

Open Ports: Apache vs. IIS

I just had an interesting meeting with security guys and the main point of this meeting I wanted to have some backup on is: Apache is secure, because it only needs port 80 and 443 (for http and https ...
3
votes
5answers
3k views

When would I open Port 53 for DNS?

Locking down an application server. The server hosts a web app that is served via http. There are a few other ports open as well. Port 53 is open for DNS. Why would I need this? Extra: (Do not ...
3
votes
4answers
6k views

How do I save iptables config?

I have just installed Webmin on a Ubuntu server. According to the docs you need to open up port 10000 (which is what Webmin runs on), with this: iptables -A INPUT -p tcp -m tcp --dport 10000 -j ...
3
votes
2answers
560 views

How to open port 555 on Linux / Debian

I want that phpmyadmin to work at mysite.com:555 (555 port) # phpMyAdmin default Apache configuration <VirtualHost *:555> Alias /phpmyadmin /usr/share/phpmyadmin <Directory ...
3
votes
1answer
148 views

Firewall Port Mapping, Good or Bad?

Is it worth the trouble to map open ports in the firewall from some inconspicuous port number to the correct port number for a given service? Or is it simpler and similarly secure just to present ...
3
votes
7answers
20k views

Port 80 is being used by SYSTEM (PID 4), what is that?

I am trying to use port 80 for my application server, but when I perform "netstat -aon" I get TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 When I look up the process in ...
3
votes
2answers
2k views

How to determine which TCP/UDP ports are being opened by a given process (linux)?

I know how to do the opposite (find out what process has a given port open) using lsof or netstat, but extensive research on Google hasn't helped me solve the reverse problem. I know I could use ...