port-number

Apache is listening on a different port, but how do I get it so I don't have to type in the port number?

I am running IIS and Apache HTTP Server side-by-side on my localhost machine, and Apache is listening on a different port (port 81). IIS is listening to port 80. However, I can only get to my virtual domains for Apache if I type in that port number. So for instance: http://virtual.myvirtualdomain.com:81 http://virtual.myvirtualdomain2.c...

What are the origins of standard port numbers?

Wikipedia has a long list of standard port numbers for various protocols. Does anyone know how some of these numbers were chosen? EDIT: I'm asking how/why the original developers chose the numbers, not where the list comes from. ...

Actionscript NetStream.play drops port in relative URLs

Hi, the current page my flash application is running from is http://localhost:3000/. I'm trying to play a video using NetStream.play(relativeURL) by using a relative URL (e.g. "myVideo.flv"), but when I look at the actual request made by actionscript, it's dropping the port number. (e.g. http://localhost/myVideo.flv). Is there somethi...

Port Number for Incoming Apple Push Notifications

What network services, port numbers, outgoing incoming or both, need to be open on a network for an ipod touch to receive Apple Push Notifications? I know the outgoing port number to set when sending the apns. The only thing is, in my school practically every outgoing (and incoming) port is blocked and as a result APNs do not work. I am...

How do you decide what port to use?

This is a little subjective, as there are no rules so to speak. Every time I create a server, I think to myself, "What is the best port to use?" I guess an answer is "Any, as long as the user can change it." So, how does everyone else decide how to choose the default port? Personally, I like to use something like 8000-something if it's H...

URL losing port number in every page load

I'm currently taking care of a certain local website. The default port has been changed, and can no longer be not included in the URL due to technical reasons, so now i'm using a certain port in the end of the IP at the URL, for example 100.100.100.100/website.aspx no longer works (which accessed 80 by default) 100.100.100.100:81/we...

Asp.NET link: Page losing port number

In this asp.net page, there is a link that leads to another page in a certain subfolder, It has always worked. Recently, for technical reasons (irrelevant) , the port number had to be changed (80 to 81). Every link keeps working, but there is ONE that doesn't keep the port number no matter what. <asp:HyperLink runat="server" Text="link...

java regex matching ip address and port number as captured groups

Hi, could please anybody tell me what is wrong with this regexp ? ((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))\\:([0-9]{2,5}) for matching this: assfasfas>192.168.1.1:8080192.168.222.43:8286 I need 192.168.1.1 and 8080 to be captured groups Thank you ...

How can I find an unused port?

I need to create a brain-dead HTTP server that returns 404s for everything on localhost. Specifically, I have a program under an acceptance test harness which calls out to a server, but for testing I want to save time by skipping that unrelated check. I have a way to pass in the URL the program uses as part of the test harness, and the ...

mysql server port number

I've just made a database on mysql on my server. I want to connect to this via my website using php. This is the contents of my connections file: $dbhost = 'localhost'; $dbuser = 'root'; $dbpass = 'password'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die('Error connecting to mysql'); $dbname = 'epub'; mysql_select_db($db...