B4J Question cannot post if using noip

TomDuncan

Active Member
Licensed User
Longtime User
I am designing a client/server in b4j

I have the server running using port 1234
if I run this
B4X:
    Job.Initialize("Job", Me)
    Job.PostString("http://10.1.1.33/SendStuff", Data)
I get the correct result.
However I am using noip which creates a url of http://somesite.com (not the correct name)
This has been redirected from (my url):1234 to somesite.com
This works fine as a web server and websockets.

if I now run
B4X:
    Job.Initialize("Job", Me)
    Job.PostString("http://mysite.com/Send", Data)

then I get this error

HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>ctdtest.ddns.me</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="shortcut icon" href="http://xx.xx.xx:1234/favicon.ico">
<link rel="icon" href="http://xx.xx.xx.147:1234/favicon.ico">
</head>
<frameset cols="100%">
    <frame src="http://xx.xx.xx:1234/SendData" name="redir_frame"  frameborder="0">

    <noframes>
    Sorry, your browser does not support frames.  Click <a href="http://xx.xx.xx:1234/SendData" target="_top">here</a>
    <br><br>
    </noframes>
</frameset>
</html>

/edit
if I use myownsite.com:1234 (with noip)
it works.

Any thoughts please..
Tom
 
Last edited:
Top