CodePudding user response:
Someone in here, the up, don't sinkCodePudding 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 reactionCodePudding user response:
You need to do port mappingCodePudding 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 defaultCodePudding user response:
Note the port number, and the server's firewall completely closed tryCodePudding user response:
A simpleThe 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?