Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4063632
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:45:03+00:00 2026-05-20T15:45:03+00:00

I am opening a socket on port 119 (using idHttpServer) and it opens ok

  • 0

I am opening a socket on port 119 (using idHttpServer) and it opens ok (no errors reported and i can see that the port 119 is opened by looking at netstat). But when my socket client sends a request to the server 119 port, the server does not get the request neither the client works. If i change the socket port to another one (such as 90, 80, 120) it works fine.
I guess that the socket port 119 is a SO reserved port (but theres nothing running on that port, i am sure about that). I also know that port 119 is used by news protocol (but there is no news server).
Does anyone know why i cant connect to the 119 port? The same thing happens with the 110 port (pop, but not pop server on). It is driving me crazy.

Delphi 2010
Latest indy version
Windows 2003 server enterprise edition.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T15:45:04+00:00Added an answer on May 20, 2026 at 3:45 pm

    It shall to be something in your development machine, because it is perfectly valid to use the 119 port (or any other available port) with INDY HTTP Server. Take in account it is not recommended to use ports different than 80 below the 1024 reserved ports to to that, but that’s another thing.

    I made a simple test, two applications. Here are the relevant parts:

    Server

    dfm

    object Form2: TForm2
      Caption = 'Server'
      object IdHTTPServer1: TIdHTTPServer
        Active = True
        Bindings = <>
        DefaultPort = 119
        Left = 56
        Top = 40
      end
    end
    

    Client

    dfm

    object Form3: TForm3
      Caption = 'Form3'
      object Memo1: TMemo
        Left = 16
        Top = 8
        Width = 185
        Height = 89
        Lines.Strings = (
          'Memo1')
        TabOrder = 0
      end
      object Button1: TButton
        Left = 207
        Top = 8
        Width = 75
        Height = 25
        Caption = 'Connect'
        TabOrder = 1
        OnClick = Button1Click
      end
      object Button2: TButton
        Left = 207
        Top = 39
        Width = 75
        Height = 25
        Caption = 'Disconnect'
        TabOrder = 2
        OnClick = Button2Click
      end
      object IdTCPClient1: TIdTCPClient
        OnStatus = IdTCPClient1Status
        ConnectTimeout = 0
        Host = 'localhost'
        IPVersion = Id_IPv4
        Port = 119
        ReadTimeout = -1
        Left = 32
        Top = 40
      end
    end
    

    pas

    procedure TForm3.Button1Click(Sender: TObject);
    begin
      IdTCPClient1.Connect;
    end;
    
    procedure TForm3.Button2Click(Sender: TObject);
    begin
      IdTCPClient1.Disconnect;
    end;
    
    procedure TForm3.IdTCPClient1Status(ASender: TObject; const AStatus: TIdStatus;
      const AStatusText: string);
    begin
      Memo1.Lines.Add(AStatusText);
    end;
    

    The result:

    Successfully connected

    Dont forget to allow traffic on the firewall, for example by accepting the default windows dialog (in case of using windows firewall):

    Firewall warning

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a socket that listens on some port. I send the SIGSTOP signal
I implemented a TCP Client using a thread opening a socket to a server
I'm using jcreatorLE and JDK 1.6 to run my program. I don't know why
I have an ipod touch program that should receive messages from a server program
As a learning exercise, I'm writing a Python program to connect to a channel
I'm currently busy working on an IP ban tool for the early versions of
In the following code I would like to extract the IP address of the
Is there a way to request elevated privileges from the os, for just a
I am trying to communicate with TCP between a Qt program and a regular
all. I'm having a bit of weird problem with client server program. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.