Introduction
This is a translation of José Luis Rocha’s article Cómo reservar el puerto 3050 para InterBase en Windows 2003 Server, originally published in Spanish (obviously). I’m posting my translation here with his permission.
If you have experienced applications such as Microsoft Small Business Server grabbing ports reserved for other applications, you might want to try the steps below.
The Problem
InterBase uses TCP/IP port 3050, and this is registered with IANA (Internet Assigned Numbers Authority).
But Windows 2003 Server can assign this port when a program or a process requests to open random port number. I have not verified it, but I doubt a lot that this "problem" occurs with Microsoft programs or services.
In this article we will see how to reserve this port, so that InterBase alone can use it.
The Solution
- Run the Registry Editor. (Start->Run…, type regedit, and press "OK."
- Locate this key:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters
- In the Edit menu, select "New," and click "Multi-String Value".
- Click the right mouse button on the new value, select "Rename", type ReservedPorts, press Enter.
- Double click on ReservedPorts and type the list of ports to reserve, then press "OK".
- Press OK
- Close the Registry Editor
The list of ports should be established in the following format:
xxxx-yyyyTo specify just port 3050, use the same value for x and and y:
3050-3050
{ 4 } Comments
HOW TO OPEN PORT 3050 IN WINDOWS XP PROFESIONAL
Nelson, this shouldn’t be a problem in XP. Make sure you have the firewall open on port 3050, at least for your clients, however!
Why don’t simply change IB port to, let’s say, 3053? Isn’t it easier than mess with Registry?
Because then you’d have exactly the same problem with 3053.
Post a Comment