Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Public Shared Function SendAdminEmail() As Boolean Dim ipAddress As String = "" Try ipAddress = HttpContext.Current.Request.ServerVariables("REMOTE_ADDR") Catch ex As Exception End Try If (ipAddress > "") Then Dim db As Database = DatabaseFactory.CreateDatabase(Globals.AppSettings("webdb")) Dim dbCommand As DbCommand = db.GetStoredProcCommand("VerifySendAdminEmail") db.AddInParameter(dbCommand, "@IPAddress", DbType.String, ipAddress) Dim ds As DataSet = db.ExecuteDataSet(dbCommand) If (Not ds Is Nothing) Then If (ds.Tables.Count > 0) Then If (ds.Tables(0).Rows.Count > 0) Then If (ds.Tables(0).Rows(0)(0).ToString = "0") Then Return False End If End If End If End If End If Return True End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.