Home > Back-end >  How Delphi three-tier architecture in the local area network (LAN) connection, socketconnection is t
How Delphi three-tier architecture in the local area network (LAN) connection, socketconnection is t

Time:10-01

Supplement: in the same router

CodePudding user response:

Someone in here, the up, don't sink

CodePudding user response:

This is the basic function of DataSnap,

CodePudding user response:

When I enter the IP on interface, click the connection, how have no reaction

CodePudding user response:

You need to do port mapping

CodePudding user response:

Use DataSnap TADOConnection connect to the database, the main parameter is set, the socket:
ADOCon. The ConnectionString:=the ConnectionString;
Socket set:
The ConnectionString:='Provider=SQLOLEDB. 1; + '
'the Password=' + Password + '; + '
'Persist Security Info=True; + '
'the User ID=' + InputName + '; + '
='+' Initial Catalog DatabaseName + '; + '
'Data Source=' + ServerName.

CodePudding user response:

The socket port 211 by default

CodePudding user response:

Note the port number, and the server's firewall completely closed try

CodePudding user response:

A simple
The last time I was get along while, finally is a problem of firewall, turn off the firewall even,

http://blog.csdn.net/cb168/article/details/14454499

CodePudding user response:

Can be directly ask me ha ha, this research for a long time even not tip?
  • Related