The actual code doesn't matter. It explains the steps that you need to do in order to make a direct connection over the internet.
Hi Erel,
when i run the B4J side of the code, i get following in my log
Update DuckDNS: OK
as per the code if j.success = true then i will be getting this message in the log.
This shows that the server side is working
when i write 127.0.0.1:54021/test in the browser
i get Your ip address: 127.0.0.1
however when i run yourdomain.duckdns.org:54021/test with my domain name that i have set on duckdns, it gives me error, this site cant be reached
i have configured my router as per attached file for port forwarding, here i have given same port name i.e. 54021
dont know where i am going wrong. Also i beleive i need to make change in the B4A code on following line, i have updated it like this
also when i see my ip address in duckdns it is different than the one i get when i run ipconfig on my system. I have updated the ip on duckdns also but doesnt work.
i am not sure if i need to make any changes to the following code, here it is a key value pair and in the ip key the value is empty. do i need to give my ip address here
Sub UpdateIp_Tick
Dim j As HttpJob
j.Initialize("j", Me)
j.Download2("http://www.duckdns.org/update", Array As String("domains", domain, "token", token, _
"ip", ""))
End Sub