Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 18 of 18 total
Thread Server mode config
Mon, Aug 25 2008 2:32 PMPermanent Link

Francisco Fernandez
Heiko,

I have configured the server and i run edbsrvr but when i want to connect it by client pc
show me this message "ElevateDB error #1100 a Connection to the server at "192.168.0.25"
cannot be established".

192.168.0.25 is ip address of the server, in the server i can connect if i use ip
127.0.0.1 but no with 192.168.0.25, then i'm a little confused of the use of ips

Thank you and my english is surely poorly than yours.
Mon, Aug 25 2008 2:36 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Francisco,

<< sorry but i don't understand it. I have a server in a place and i have a
remote client in another place. Must i run edbsrvr.exe in this pc? What must
i configure in this pc and in the server?  >>

This is how you would set it up:

Remote PC - just your application with its TEDBSession component set to use
SessionType=stRemote and the proper server information filled in
(RemoteAddress,RemotePort, at a bare minimum).

Server PC - put the database tables in a folder like this (where
MyApplication is replaced with your application name):

Root folder - C:\MyApplication
Database folder - C:\MyApplication\Data

and then, start up the edbsrvr.exe and do the following:

1) Stop the server using the Stop Server task link.
2) Click on the Edit Server Options task link.
3) Change the File Folder to C:\MyApplication under the Configuration tab.
4) Click on the OK button.
5) Click on the Start Server task link.

That should do it, provided that you already have your router set up to
route all incoming connections to port 12010 to the server PC's internal IP
address.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Aug 25 2008 2:47 PMPermanent Link

Heiko Knuettel
Francisco,

When you configure edbsrvr.exe, in the "Connections-Tab", what adress do you have set in
the "Listen on IP adress" field ?  You can let that one empty.

Does your server machine have a firewall that blocks Port 12010 ?

>>in the server i can connect if i use ip 127.0.0.1 but no with 192.168.0.25

When you run your application on the server machine, and the server machine has the adress
192.168.0.25, then both 192.168.0.25 and 127.0.0.1 should work as Session.RemoteAdress.

Heiko
Tue, Aug 26 2008 4:06 AMPermanent Link

Francisco Fernandez
Hi again.

At last i have working my clients of the net in client/server mode but i already have a
problem with the remote pc across internet. At the remote pc i try connect by the public
internet ip address of the server and in the router of the server i have opened 12010 port
to internal ip address (192.168.0.25) but when i want connect with the server it show me
the error "Cannot connect a remote session with the server engine", this message shows
inmediatly when try connect to server.

Any ideas?
Tue, Aug 26 2008 4:39 AMPermanent Link

Francisco Fernandez
Hi.

I'm continuing trying it and now in the remote internet pc when i want to connect, before
some seconds, show me the message "ElevateDb Error #1100 A connection to the server
"(public internet ip address)" cannot be established"

Thank you
Tue, Aug 26 2008 4:43 AMPermanent Link

Heiko Knuettel
Francisco,

>>"Cannot connect a remote session with the server engine"

Looks like "TEDBEngine.EngineType" is set to "etServer" in your application. It must be
"etClient".

Heiko
Tue, Aug 26 2008 5:20 AMPermanent Link

Francisco Fernandez
Yes, now i have the error:

"ElevateDb Error #1100 A connection to the server
"(public internet ip address)" cannot be established"
Tue, Aug 26 2008 7:03 AMPermanent Link

Francisco Fernandez
Yessssssssssssssssssssssssssssssss

I don't know why but i have changed the number port to another in all places and i can
connect now.

Heiko, Tim, Thank you
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image