Skip to content

got exception on .web.id domain #3

@vallerydelexy

Description

@vallerydelexy
PS C:\Users\Rizki Aprita> whois aprita.web.id
New-Object: D:\Documents\PowerShell\Modules\Get-WHOIS\1.1.0\Public\Get-WHOIS.ps1:106
Line |
 106 |  … oisSocket = New-Object System.Net.Sockets.TcpClient($wServerIP, $whoi|                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling ".ctor" with "2" argument(s): "A connection attempt failed because the connected party did not
     | properly respond after a period of time, or established connection failed because connected host has failed to
     | respond. [::ffff:36.86.63.182]:43"
InvalidOperation: D:\Documents\PowerShell\Modules\Get-WHOIS\1.1.0\Public\Get-WHOIS.ps1:107
Line |
 107 |          $whoisStream = $whoisSocket.GetStream()
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
New-Object: D:\Documents\PowerShell\Modules\Get-WHOIS\1.1.0\Public\Get-WHOIS.ps1:108
Line |
 108 |$whoisWriter = New-Object System.IO.StreamWriter($whoisStream)
     |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | A constructor was not found. Cannot find an appropriate constructor for type System.IO.StreamWriter.
InvalidOperation: D:\Documents\PowerShell\Modules\Get-WHOIS\1.1.0\Public\Get-WHOIS.ps1:109
Line |
 109 |          $whoisWriter.WriteLine($whoisQuery)
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: D:\Documents\PowerShell\Modules\Get-WHOIS\1.1.0\Public\Get-WHOIS.ps1:110
Line |
 110 |          $whoisWriter.Flush()
     |          ~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
New-Object: D:\Documents\PowerShell\Modules\Get-WHOIS\1.1.0\Public\Get-WHOIS.ps1:111
Line |
 111 |$whoisReader = New-Object System.IO.StreamReader($whoisStream)
     |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | A constructor was not found. Cannot find an appropriate constructor for type System.IO.StreamReader.
InvalidOperation: D:\Documents\PowerShell\Modules\Get-WHOIS\1.1.0\Public\Get-WHOIS.ps1:112
Line |
 112 |          $whoisResponse = $whoisReader.ReadToEnd()
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: D:\Documents\PowerShell\Modules\Get-WHOIS\1.1.0\Public\Get-WHOIS.ps1:113
Line |
 113 |          $whoisReader.Close()
     |          ~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: D:\Documents\PowerShell\Modules\Get-WHOIS\1.1.0\Public\Get-WHOIS.ps1:114
Line |
 114 |          $whoisWriter.Close()
     |          ~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: D:\Documents\PowerShell\Modules\Get-WHOIS\1.1.0\Public\Get-WHOIS.ps1:115
Line |
 115 |          $whoisSocket.Close()
     |          ~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

WhoisServerName      WhoisLookupService
---------------      ------------------
id.whois-servers.net whois-servers.net

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions