i've tried that way of getting the wan ip but somehow it encounter error on webRequest.GetResponse();
System.Net.WebException was unhandled
Message="The underlying connection was closed: An unexpected error occurred on a receive."
Source="System"
StackTrace:
at System.Net.HttpWebRequest.GetResponse()
at L2ServerInstaller.Form1.GetExternalIP()
i'll look into the database query code after lunch

bbl