Db.connect...

In my home, i can connect to my database on the web…
But in my work… I can’t…
We have a proxy…
How i can do…?

error messages?

No error message, a “unknow error…”
And no connection…

Suppose in your work there is some kind of port filtering. Perhaps only permits outgoing connections to http(s) (via Proxy) and email (SMTP/POP/IMAP(s)).

Also, if that not the case, what’s the database? Do you permit connections from every IP?

[quote=333975:@JosMaraTerryJimnez]Suppose in your work there is some kind of port filtering. Perhaps only permits outgoing connections to http(s) (via Proxy) and email (SMTP/POP/IMAP(s)).

Also, if that not the case, what’s the database? Do you permit connections from every IP?[/quote]

Yes we have a proxy…
But on direct in IE i can send to Postgresql…
But throug xojo i can’t…:frowning:

[quote=334013:@julien assayah]Yes we have a proxy…
But on direct in IE i can send to Postgresql…
But throug xojo i can’t…:-([/quote]
Don’t understand… How do you send data to PostgreSQL with IE? Using some web interface? If it is in the same server that the PostgreSQL (or other in Internet) then there is no connection from your work to that server.

Try telnet’ing to your server/port from your work and check if you get a connection, you must get something like this if you can connect from your work.

telnet server.TLD|IP 5432 Trying server.TLD|IP... Connected to server.TLD|IP. Escape character is '^]'.

[quote=334028:@JosMaraTerryJimnez]Don’t understand… How do you send data to PostgreSQL with IE? Using some web interface? If it is in the same server that the PostgreSQL (or other in Internet) then there is no connection from your work to that server.

Try telnet’ing to your server/port from your work and check if you get a connection, you must get something like this if you can connect from your work.

telnet server.TLD|IP 5432 Trying server.TLD|IP... Connected to server.TLD|IP. Escape character is '^]'.[/quote]

If i want to connect with the code in xojo i cant
In htmlwiewer, i can…!!
But i would like to call some information in a listbox…
And it’s not possible …
I have created a php page… And if i call this page on htmlviewer… No problem…
Sorry for my english, you understand ?

[quote=334042:@julien assayah]If i want to connect with the code in xojo i cant
In htmlwiewer, i can…!!
But i would like to call some information in a listbox…
And it’s not possible …
I have created a php page… And if i call this page on htmlviewer… No problem…
Sorry for my english, you understand ?[/quote]

The php page connects to the pgsql locally. You are seeing a web page that filtering in your work permits, but perhaps no the pgsql connection. Try the telnet thing to be sure you can remotely connect to PostgreSQL. Other thing is you must permit remote connections to PostgreSQL and permit the traffic in the server’s firewall (if any). Note permit remote (Internet) connections is not a good idea. If you do it, restrict to your work public IP (if fixed) or at least the subnet from you get the public IP.