We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
osc over internet (Read 1858 times)
osc over internet
Feb 10th, 2010, 10:01pm
 
I was playing arround with the oscp5 library and osctouch for the iphone.
My question is, is it possible to use oscp5 not only over the local network but also over the internet? i tried to enter the ip of my pc but i couldnt send any signals. Is there anything special i have to do or is it just not possible ?

Re: osc over internet
Reply #1 - Feb 11th, 2010, 12:57am
 
hi, sure you can, one way to do it: you would need to know the global ip address of your receiver's internet connection. in this case, the receiver computer would need to be connected to the internet directly. or, if your computer is inside a LAN, you could do port forwarding at your router's end. in any case, make sure that ports are not blocked by your firewall, too.
Re: osc over internet
Reply #2 - Feb 11th, 2010, 1:10am
 
thats what i actually tried, but you are right, i have to take care that the ports are not blocked. i guess thats the reason why it is not working... thx!
Re: osc over internet
Reply #3 - Feb 11th, 2010, 1:28am
 
hmm cant make it work. to make sure its not the iphones fault. i loaded your oscP5SendReceive example.

myRemoteLocation is set to 127.... sure it works, when changing to my local ip adress 192.168.1.34 it also works,
so when changing to my global ip it should work too, right? but it isn....
i disabled the windows firewall and as far as i can tell also opened the port on my router... is there anything else i miss ? could my ipv6 be the problem ? my global ip is 188.110.115.46 atm.

Re: osc over internet
Reply #4 - Feb 11th, 2010, 2:12am
 
your global ip (188.110.115.46) is your router's ip or your computer's? (tried to ping 188... but no response) if its your router's ip, the packet will get stuck there and wont make it to your computer since there is no indicator which machine should receive the packet.
Re: osc over internet
Reply #5 - Feb 11th, 2010, 2:18am
 
ok, my fault i actually changed the last digit not to post my real ip.
if you wanna try it again, its 188.110.115.47
i got it using http://whatismyipaddress.com/ ...
Re: osc over internet
Reply #6 - Feb 11th, 2010, 6:30am
 
What do you mean by "opened the port" on your router?

"Port forwarding" involved setting up a rule on your router to specifically send incoming (external) data for the port to your PC on the local network.

Taken from http://portforward.com/help/portforwarding.htm
Quote:
When a computer on the internet sends data to the external ip address of the router, the router needs to know what to do with the data. Port Forwarding simply tells the router which computer on the local area network to send the data to. When you have port forwarding rules set up, your router takes the data off of the external ip address:port number and sends that data to an internal ip address:port number. Port Forwarding rules are created per port. So a rule set up for port 53 will only work for port 53.


Might I suggest private messages (or email... anything not public!) for discussing your IP address and open ports?

That http://portforward.com/ site looks like it has plenty of information. I might have a read of it myself to learn a bit more about it.

-spxl
Page Index Toggle Pages: 1