Delphi Ide Socket Error 10060
Contents |
View All Answers My Questions Articles Tutorial Tips, Tricks & Techniques News Database Support Community Forums Search Recent DiscussionsResourcesQuality asynchronous socket error 10060 delphi PortalEvents CalendarEmbarcadero on YouTube Job BoardRegistered User DownloadsTrial Downloads Books Login
Socket Error 10060 Connection Timed Out Delphi
Register HomeArticlesTips, Tricks & TechniquesPROGRAMMINGError: 'Windows Socket Error: (10060), on API 'connect?' Error: 'Windows Socket Error: (10060),
Socket Error 10060 Windows Live Mail
on API 'connect?' Written by Embarcadero USA. Posted in PROGRAMMING Question and Answer Database FAQ374D.txt Error: 'Windows Socket Error: (10060), on API 'connect?' Category :DCOM/MultiTier/ActiveForm Platform :All Product
Socket Error 10060 Ftp
:Delphi 3.x Question: I have a 3 tier app. using the TMidasConnection. I can connect to the server app when I use a client machine within the local net. I can also connect to it if I dial in directly into the local net. But, if I try to connect via the Internet (through an ISP) I socket error 10060 error number 0x800ccc0e get the error "Windows Socket Error: (10060), on API 'connect'". While connected to the ISP, I can ping my server machine, but the component does not see it. Answer: You are probably running into the firewall. If the server is not outside the firewall sometimes you can use a Port # > 1024 to access it, but you should check with your IS department. 7/16/98 4:31:28 PM Article originally contributed by Tags: Delphi < Prev Next > Tweet About Embarcadero USA Gold User, Rank: 4, Points: 574 Add as friend View Profile More from this Author Share It Latest News InterBase and Windows 10 Anniversary Update Windows 10 Anniversary Update and RAD Studio Cool App Winner: EarMaster for iPad Product Roadmap August 2016 Product Roadmap Update Article Tags Delphi C++Builder Platforms JBuilder Tools InterBase Programming Linux FireMonkey Database Components Win32 HTML5 Builder Prism IDE Win16 Object Pascal Web Technologies C# Dist. Computing PROGRAMMING CLOUD DATA ENTERPRISE PROGRAMMING TOOLS UI home company communities partners copyright privacy report
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the socket error 10060 connection timed out windows 7 workings and policies of this site About Us Learn more about Stack socket error 10060 msdn Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs socket error 10060 gmail Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join http://community.embarcadero.com/article/technical-articles/162-programming/13218-error-windows-socket-error-10060-on-api-connect them; it only takes a minute: Sign up DataSnap server socket error 10061 up vote 0 down vote favorite I have decided to move from SOAP servers to DataSnap servers & REST. I have viewed and followed several tutorials and even tried the DXE5 demos but I keep getting the same result. The issue is that I cannot connect http://stackoverflow.com/questions/22678393/datasnap-server-socket-error-10061 the TSQLConnection on the client app to the DataSnap server that is running. Here is the Code : Socket Error # 10061 Connection refused.. OS = Windows 7 64bit RAD Studio XE5 Update 2 Following DataSnap multi-tier video tutorial by Pawel Glowacki (and ohters). In creating a Datasnap client/server app, I cannot connect the client TSQLConnection to the DSServer. The server is running (localhost)! Firewal de-activated. Added port 211 to Windows Firewall Inbound & Outbound rules. I have tried creating a DataSnat REST application and the same error occurs. I get the same results when doing this in DXE and DXE3. Steps to reproduce Create Datasnap server (Tried both DataModule & DSServerModule). Leave default port to 211 (Have also tried several other ports (8080, 9000). Run the server. All is OK up to here. Create a VCL Form App. Add a TSQLConnection to Main form. Set driver to DataSnap. CommunicationProtocol = tcp/ip. DataSnapCOntext = datasnap/ HostName = localhost (have tried 127.0.0.1 and my computer's IP address). LoginPropt = False. Run server. Start server. Open in br
a reply 11 posts • Page 1 of 1 Socket error on connect. WSAGetLastError return 10060($274C) by iad » Wed 24 Jan 2007 23:39 Hi, Thanks for the help so far, i getting annoyed by Socket error on connect. WSAGetLastError return 10060($274C) error all the time, this is happening on Scrip execute and http://forums.devart.com/viewtopic.php?t=9002 Query execute and what is interesting is that it happened only in procedure that calling to two MySQL servers one after one. it happpenning several clients spreading around, i set the time out to 60 seconds, but it still keep coming. just http://www.delphipages.com/forum/showthread.php?t=212063 must say that when i;'m using different MySQL component , i don;t get any error, something i'm doing wrong ? Lior, iad Posts: 34Joined: Fri 24 Nov 2006 07:38 Top by iad » Wed 24 Jan 2007 23:44 and one socket error more thing, i measured the time it take for the spitting the error, it 11-21 seconds, the the 60sec timeout i set should be intact ? iad Posts: 34Joined: Fri 24 Nov 2006 07:38 Top by Antaeus » Thu 25 Jan 2007 07:53 Thank you for information. Unfortunately we could not reproduce the problem. Please send a complete small sample to evgeniyD*crlab*com to demonstrate it, including script to create and fill table(s). Also supply us the following information - Exact version of Delphi, socket error 10060 C++ Builder or Kylix - Exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor - Exact version of MySQL server and MySQL client. You can see it in the Info sheet of TMyConnection Editor Antaeus Posts: 2098Joined: Tue 14 Feb 2006 10:14 Top by Antaeus » Thu 25 Jan 2007 09:02 Probably there is something wrong with your network. Please check settings of your proxy, firewall, antivirus software, etc. Does the problem appear if the second server is located on localhost? Antaeus Posts: 2098Joined: Tue 14 Feb 2006 10:14 Top by iad » Thu 25 Jan 2007 19:35 Hi, i thing i manage to fix it by setting the pooling to True. i wonder why .... ? i have a new problem now, the MYSQL server is crashing one a day when using SSL, strange .... any lead ? Lior, iad Posts: 34Joined: Fri 24 Nov 2006 07:38 Top by Antaeus » Fri 26 Jan 2007 12:14 i thing i manage to fix it by setting the pooling to True.i wonder why .... ? It is good to see that this problem has been solved.Probably the reason of this problem is in your environment. If you set Pooling to True, connection is not actually released. It is put into pool. Then if you try to establish a connection with the same settings, it is just obtained from the pool. So enabling pooling does not solve this problem completely. Probably you w
Show Posts Tag Search Advanced Search Go to Page... Thread Tools Display Modes #1 06-22-2012, 05:24 PM stoker Junior Member Join Date: Jun 2012 Posts: 13 send email with Indy components problem Hi all, I try to send an email, but I have a problem, however, I found this code on the web: Code: procedure SendSimpleMail; var IdSMTP: TIdSMTP; IdMessage: TIdMessage; IdEmailAddressItem: TIdEmailAddressItem; begin IdSMTP := TIdSMTP.Create(nil); try IdSMTP.Host := 'smtp.gmail.com'; IdSMTP.Port := 25; IdSMTP.AuthType := atDefault; IdSMTP.Username := 'username@gmail.com'; IdSMTP.Password := 'password'; IdSMTP.Connect; if IdSMTP.Authenticate then begin IdMessage := TIdMessage.Create(nil); try IdMessage.From.Name := 'User Name'; IdMessage.From.Address := 'username@gmail.com'; IdMessage.Subject := 'E-mail subject'; IdMessage.Body.Add('E-mail body.'); IdSMTP.Send(IdMessage); finally IdMessage.Free; end; end; IdSMTP.Disconnect; finally IdSMTP.Free; end; end; but when try to send email, the program give me an error: Code: Socket error # 10060 Connection timed out Why? Thanks! stoker View Public Profile Send a private message to stoker Find all posts by stoker #2 06-22-2012, 06:57 PM Ouiji Senior Member Join Date: Nov 2001 Location: US of A Posts: 485 You may want to have a look at this page, as gmail requires a little different configuration than you are working with. http://support.google.com/mail/bin/a...n&answer=13287 __________________ "not quite smart enough to be dumb"Extended Stats No Longer Available Due To Changes To The Forum. Ouiji View Public Profile Send a private message to Ouiji Visit Ouiji's homepage! Find all posts by Ouiji « Previous Thread | Next Thread » Thread Tools Show Printable Version Email this Page Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is On Forum Rules Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Delphi Forum VCL DB-Aware Tools DB Tools Apps Samples .NET .NET DB-Aware .NET Tools .NET Samples Kylix General All times are GMT. The time now is 12:52 AM. Delphi Pages - Archive - Top - Contact Us Powered by vBulletin Version 3.8.8Copyright ©2000 - 2016, vBulletin Solutions, Inc.