Test RPC Service Mobile times out on server

General discussion on Zend Studio
Post Reply
marc2559
Posts: 9
Joined: Fri Apr 05, 2013 8:17 am

Test RPC Service Mobile times out on server

Post by marc2559 » Thu Oct 03, 2013 1:54 pm

All,

I am trying to create a small mobile app, just to get the hang of it. Working with:

1. Zend Studio 10, created an empty project. Added access to a small file, and try to list all records.
2. Deployed locally on a Zend server
3. Use the DB on my remote server. Mysql DB.

I have created a RPC Service, but everytime I test the connection times out because the server did not respond not correctly or not at all. "Trying to connect via tcp://www-the-rest:3306"

Can anybody point me in the right direction with some tips on where to look? Nothing to find on the internet concerning my problem.

connection part:
public function __construct()
{
$this->tasksTable = new TableGateway(
'tasks',
new Adapter(array(
'driver' => 'Pdo_Mysql',
'hostname' => 'www-domain',
'database' => 'testcrm',
'username' => 'testcrm',
'password' => 'password',
)
));
}

Thanks, Marco

Post Reply