Skip to first unread message

q quickmail

unread,
Oct 18, 2015, 3:57:30 PM10/18/15
to MIT App Inventor Forum


My programming skills are as good as the information I get from forums like these.
But I finally managed to produce a small app in python that gets and sends small pieces of data for home controlmover the web.
I would like to use app inventor as it is a great way to show what is actualy happening, the direct updating of
changes works fantastic.
Problem is that I can't use the portnumber in the url, the standard 8001 portnumber of ai2 is not accepted.
My python program connects fine with the port forwarding.
Is there a way to get the ip and port number as a webaddress in the url? 

Thanks in advance.

Scott Ferguson

unread,
Oct 19, 2015, 11:40:45 AM10/19/15
to MIT App Inventor Forum
I am pretty sure that I have seen url's using port addresses that users have used when connecting with external devices.
The url ends with a ':NNNN' suffix.
Try searching the forum to see if you can find some examples.
---
sf

q quickmail

unread,
Oct 20, 2015, 3:02:52 PM10/20/15
to MIT App Inventor Forum
Hello Scott,

You are absolutely right I did not just wanted to send the portnumber, but the combination ip:port.

Best thing of it all is that your second link is spot on.

I can now connect to my home raspberry from anywhere in the world and send my 5 bytes.

I have no idea how you found this link but I am over the moon.

Many thanks.

Reply all
Reply to author
Forward
0 new messages