Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Tmobile 3g Ports

Tmobile 3g Ports

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Tmobile 3g Ports

Postby impactdni » Sat Feb 28, 2009 9:14 am

Trying some basic device-to-device communication, but from what I can see, T-Mobile blocks ports (NAT, firewall, whatever)...

Connecting Out from the device (on 3g), works fine, connecting to the device doesn't... It looks like it gets a legit IP address (outgoing connections report a 208.54.*.* address, but telnets/nmaps/pings to that address never come back...

Any thoughts? Anyone know any ports TMobile leaves open? Or of any way to connect device-to-device?
The Happy Releaser of Plox Tower Defense
impactdni
Freshman
Freshman
 
Posts: 4
Joined: Tue Feb 17, 2009 8:15 pm

Top

Postby kali » Mon Mar 02, 2009 7:51 am

the emulator of android is working on 5554
if u open second emulator u get port 5556
so default port is 5554
kali
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Tue Jan 27, 2009 1:31 pm

Postby MrSnowflake » Mon Mar 02, 2009 9:39 am

The mobile network of t-mobile probably is behind one big giant huge NAT, so you can't connect from device to device, with out the use of other techniques, like a server or STUN.

kali wrote:the emulator of android is working on 5554
if u open second emulator u get port 5556
so default port is 5554
This is irrelevant to the question, he asks about the device, not the emulator :).
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby impactdni » Mon Mar 02, 2009 7:22 pm

Yeah, I figured it had to be NAT'd, guess its back to a server in the middle...
There was XMPP/GTalkAPI in 0.9 that would have done exactly what I wanted, but alas!
The Happy Releaser of Plox Tower Defense
impactdni
Freshman
Freshman
 
Posts: 4
Joined: Tue Feb 17, 2009 8:15 pm

Postby MrSnowflake » Mon Mar 02, 2009 7:47 pm

Yeah, it's a pitty they removed it from the SDK. Though xmpp also works over a central server.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby impactdni » Mon Mar 02, 2009 8:52 pm

Yeah, so does/did GTalkAPI, but it was at least transparent to the developer, all nicely wrapped in functions =P

Just hate having to write networking code when tests show that a good number of packets get dropped on 3G, makes it tough to do it cleanly :)
The Happy Releaser of Plox Tower Defense
impactdni
Freshman
Freshman
 
Posts: 4
Joined: Tue Feb 17, 2009 8:15 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 1 guest