Hi Guys, thanks for all the help so far, really appreciate your time. My code, for testing purposes, is the stock sample code from the module with a real license code and empty localkey variable.
It posts to the verify script fine as, if I manually in WHMCS admin add the ip, domain and direcotry to the license all works well and comes back active.
So the verify URL is fine, firewall is fine, etc. All looks good. The only issue I have is when I (a client) purchases a new license, which is of course empty in terms of ip domain and directory, then the client installs my software with the license key, verify is called and fails due to the license server returning invald IP as above.
Once I populate the license information manually all works fine and I get an active response. It's just the automatic population of the license data on the server at install time that isn't working.
Sparky, thanks for the offer of PM, will do in a few minutes.