• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

socket error # 11001 host not found

General pfSense Questions
2
16
1.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z
    Zs vendo @stephenw10
    last edited by Jun 6, 2023, 1:08 PM

    @stephenw10 a software made in delphi and firebird database

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Jun 6, 2023, 1:15 PM

      @stephenw10 said in socket error # 11001 host not found:

      socket error # 11001

      Ok so that appears to be a standard Windows error and it's probably a DNS failure like I suggested:

      WSAHOST_NOT_FOUND
      11001
      Host not found.
      No such host is known. The name is not an official host name or alias, or it cannot be found in the database(s) being queried. This error may also be returned for protocol and service queries, and means that the specified name could not be found in the relevant database.
      

      So what host is it trying to connect to?

      It's probably trying to connect using a hostname that is only valid if you're on the remote network directly in the domain. You can add a domain override in pfSense so it points to the remote company DNS servers for hosts in that domain. If that is the issue.

      Steve

      Z 1 Reply Last reply Jun 6, 2023, 1:27 PM Reply Quote 0
      • Z
        Zs vendo @stephenw10
        last edited by Jun 6, 2023, 1:27 PM

        @stephenw10 I already did , I can even ping from my computer ping server.local or ping 192.168.1.2 this shows that the dns is resolved

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Jun 6, 2023, 1:45 PM

          You shouldn't use .local as it's a specially reserved domain for mDNS. Or is that just an example here?

          If you client is able to resolve the target host using the full FQDN (server.local) perhaps the application is trying to use the hostname only (server) and failing when .local is not it's own domain.

          Z 2 Replies Last reply Jun 6, 2023, 1:59 PM Reply Quote 0
          • Z
            Zs vendo @stephenw10
            last edited by Jun 6, 2023, 1:59 PM

            @stephenw10 login-to-view

            See full ping
            before
            ping server.company.local
            after
            ping 192.168.1.2

            1 Reply Last reply Reply Quote 0
            • Z
              Zs vendo @stephenw10
              last edited by Jun 6, 2023, 2:03 PM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Jun 6, 2023, 2:46 PM

                Ok, that looks good. And 53ms looks like it's not local so I assume it's going over the VPN.

                However it will still fail if the application is trying to use just the hostname (server) instead of the full FQDN (server.company.local). Unless the local domain is company.local which it probably isn't.

                It may not be DNS, something could be blocking the traffic. What do you have access to to solve this? Can you check the server side?

                Otherwise try looking at the state table in pfSense and filter it by 192.168.1.2. Do you see states opening when you try to connect with the application?

                Z 2 Replies Last reply Jun 6, 2023, 3:03 PM Reply Quote 0
                • Z
                  Zs vendo @stephenw10
                  last edited by Jun 6, 2023, 3:03 PM

                  @stephenw10

                  on the server side I have access to everything, other applications, other software, all excel sheets, files...everything...

                  You speak in the certificate configuration?
                  login-to-view

                  1 Reply Last reply Reply Quote 0
                  • Z
                    Zs vendo @stephenw10
                    last edited by Jun 6, 2023, 3:53 PM

                    @stephenw10 brother that's right, I certainly need to configure the open vpn client

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Jun 6, 2023, 5:36 PM

                      I meant do you have access to the OpenVPN server or the application server to check for incoming connections?

                      If you don't then check at the pfSense end for the expected states when you try to connect.

                      1 Reply Last reply Reply Quote 0
                      16 out of 16
                      • First post
                        16/16
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.