I don't know how that config file stores its ports but the IP address is in long format. I'm sure there are simpler ways of breaking this down but I just do the math to reverse it back to IP address.
VB Code:
Dim LongIPAddress As Long = 30015890
Dim num As Integer
Dim sIP(4) As String
For i As Integer = 1 To 4
num = Int(LongIPAddress / 256 ^ (4 - i))
LongIPAddress = LongIPAddress - (num * 256 ^ (4 - i))
sIP(4 - i) = num & "."
Next
Dim IPAddress As String = String.Concat(sIP)
IPAddress = IPAddress.TrimEnd(".")
HTH