Skip to content

How to Reserve Port 3050 for InterBase in Windows 2003 Server

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

  1. Run the Registry Editor. (Start->Run…, type regedit, and press "OK."
  2. Locate this key:
    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters

  3. In the Edit menu, select "New," and click "Multi-String Value".
  4. Click the right mouse button on the new value, select "Rename", type ReservedPorts, press Enter.
  5. Double click on ReservedPorts and type the list of ports to reserve, then press "OK".
  6. The list of ports should be established in the following format:

    xxxx-yyyy

    To specify just port 3050, use the same value for x and and y:

    3050-3050

  7. Press OK
  8. Close the Registry Editor

{ 4 } Comments

  1. NELSON | September 28, 2005 at 7:53 pm | Permalink

    HOW TO OPEN PORT 3050 IN WINDOWS XP PROFESIONAL

  2. Craig Stuntz | September 29, 2005 at 8:34 am | Permalink

    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!

  3. Fabricio | March 13, 2006 at 2:44 pm | Permalink

    Why don’t simply change IB port to, let’s say, 3053? Isn’t it easier than mess with Registry?

  4. Craig Stuntz | March 13, 2006 at 2:46 pm | Permalink

    Because then you’d have exactly the same problem with 3053.

Post a Comment

Your email is never published nor shared. Required fields are marked *

Bad Behavior has blocked 1846 access attempts in the last 7 days.

Close