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
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
6k 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
309 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
11k 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
12k 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
2answers
3k 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
4answers
2k views

How to make a URL point to a Tomcat instance?

Sorry if this question makes no sense (no expert here), but I understand that tomcat listens to port 8080 and that url are usually addressed to 80. Is there a way to tell DNS that urls should point to ...
4
votes
3answers
440 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
12answers
2k 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
6answers
7k 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
4answers
569 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
6answers
10k views

How to check what port mysql is running on

On my windows dev box mysql is running on port 3306 How can I check what port it is running on the unix server that I have to upload the app to.
4
votes
3answers
174 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
336 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
1answer
3k views

How do I tell what is running on which ports in Ubuntu?

How could I tell what is listening on which ports on Ubuntu? In other words, how do I get a list of ports that are in use? Thanks, Alex
4
votes
3answers
1k 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
592 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
8answers
6k views

Used/blocked ports in Ubuntu

starting up Glassfish AS would tell me the port 4848 is blocked (or any port that I configure). But checking the ports are not used. There is no firewall. root@ubuntu:~/glassfishv3/glassfish/bin# ...
4
votes
4answers
9k 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
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
10k 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
1answer
2k views

Selecting Interface for SSH Port Forwarding

I have a server that we'll call hub-server.tld with three IP addresses 100.200.130.121, 100.200.130.122, and 100.200.130.123. I have three different machines that are behind a firewall, but I want to ...
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
963 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
523 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
785 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
124 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
399 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
124 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
525 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
868 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
471 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
328 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
2k 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
2answers
545 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
146 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
19k 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
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
3answers
3k views

How to assign a hostname to SSH tunnel

I'm using ssh root@my.server.ip -g -L 4321:localhost:28017 to establish a tunnel from my MacBook to my dedicated server at my hosting provider. It works well. Now I want to access several admin sites ...
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 ...
3
votes
1answer
3k views

What is “Radan HTTP”?

There is a service using the 8088 port on a Linux server I use. It identifies itself as radan-http, and indeed it's on the IANA port list. It is apparently being used by Nginx. But, despite a fair ...
3
votes
6answers
20k 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 ...
3
votes
3answers
877 views

Ports being used on Windows XP

I have a MySQL db running, or I want to see if its running. What command may I use to see which ports are active and what they are running?
3
votes
2answers
1k views

is TCP port exhaustion real? [closed]

How fast would one need to allocate ephemeral ports in order to get into the TCP port exhaustion condition? I was told there are ~4k (older Windows), ~16k (newer Windows) or ~28k (RH Linux) ports ...