Error establishing socket. Connection refused:connect

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Re: Error establishing socket. Connection refused:connect

    ODBC Connection saved the day. Thanks for the post.. i still have my hair intact.
    SP2 on Win XP Pro is a deadly combo it seems.
    biffjingle Guest

  2. Similar Questions and Discussions

    1. Error establishing socket. No buffer space available
      I have a server problem that I cannot figure out. I found an old thread but no one ever posted a solution, so thought I would see if anyone has any...
    2. Error establishing socket. Address already in use
      Running CFMX 6.1 on Win2k3, I just recently started getting these errors from connections to one of our SQLServer database servers (2000,...
    3. Error establishing socket to SQL Server 2003
      I loaded 11 MS cirtical updates last night on my CF server and SQL server and now I can not get any of the ODBC connections to work. Hellp!
    4. Error establishing socket
      Need some help here! I am using Cold Fusion 7 MX standard and SQL server 2000 sp4 on Win XP sp1. All of the installation and setup looked good....
    5. TCP/IP error, connection refused
      Having an error whenever a MS Access database is queried. We are running Windows 2000 server with CFusion 6,0,0,58500 . We are trying to update a...
  3. #2

    Default Re: Error establishing socket. Connection refused:connect

    As soon as I saw that Service Pack 2 had a built in firewall .. that to me said
    STAY THE HECK AWAY FROM THAT GARBAGE.

    ( being a developer that is ) .. I have had experiences in the past where just
    installing a firewall screwed up my hours and hours spent configging localhost
    to work with CF mx server. I ended up going with Tiny Personal Firewall then
    Sygates free one. Zone Alarm worked me and the uninstall didn't do much but
    kill my OS install.

    Sounds like xp pro / sp1 is good place to stay.

    Solas Guest

  4. #3

    Default Re: Error establishing socket. Connection refused:connect

    I spent an entire morning trying to solve the connection issue between SQL
    Server and CF Server until I found your post. YOU HAVE SAVED ME FROM SUICIDE!
    I'm praying to GOD that he lets you in Heaven when you die; no matter what you
    have done wrong. Thanks a million!

    Scandle Guest

  5. #4

    Default Re: Error establishing socket. Connection refused:connect

    Hi

    I've experienced the same problem with xp2 - and used the odbc connection,
    which worked fine up to a point. Although certain pages in my site stopped
    working and I got a message that the functionality wasnt supported by the odbc
    connection.

    Has anyone come across this before?

    iborsb Guest

  6. #5

    Default Re: Error establishing socket. Connection refused:connect

    See this thread if you have connection problems on a local instance of MSDE or
    MSSQL; it may help:

    [url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=6&thread[/url]
    id=1019322&enterthread=y

    Ortho Guest

  7. #6

    Default Re: Error establishing socket. Connection refused:connect

    Hi,

    I've just installed coldfusion on my computer, I got the Microsoft SQL server
    on another one.
    I connected through the ODBC by defining a login and password to be sure..This
    works when I try to connect to the SQL server using ASP.

    then in CF7, I add an odbc socket and here is what I got if I do exactly what
    you said Jimmy,
    meaning leaving the user as system and no password

    java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
    '(null)'. Reason: Not associated with a trusted SQL Server connection.
    The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC
    Driver][ODBC Socket][Microsoft][ODBC SQL Server Driver][SQL Server]Login failed
    for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

    so I put my real login and password without trusted connection checked
    java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
    'habitat'. Reason: Not associated with a trusted SQL Server connection.
    The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC
    Driver][ODBC Socket][Microsoft][ODBC SQL Server Driver][SQL Server]Login failed
    for user 'habitat'. Reason: Not associated with a trusted SQL Server connection.

    with trusted connection checked
    java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
    '(null)'. Reason: Not associated with a trusted SQL Server connection.
    The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC
    Driver][ODBC Socket][Microsoft][ODBC SQL Server Driver][SQL Server]Login failed
    for user '(null)'. Reason: Not associated with a trusted SQL Server connection.


    and if I trie to directly connect to the server if just get:
    java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing
    socket. Connection refused: connect
    The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect

    The server is a Windows 2k3
    My computer is a Windows Xp Sp2

    thx for the help





    PTGreg

    PTGreg Guest

  8. #7

    Default Re: Error establishing socket. Connection refused:connect

    Jim thou ART the Coldfusion God. I was able to do what no other posting said I could do. You restored my faith in this system thank you it worked like a charm
    locohombre Guest

  9. #8

    Default Re: Error establishing socket. Connection refused:connect

    Wait a second. Now we have to go back to ODBC connections with CF 7, 2003 & SQL
    Server 2000!?!?!? Yeah it works, but that's BULL S*$T!!! I thought that with
    the advent of "MX" we'd be using JDBC connections and life supposedly would be
    forever good. Now we're back to the stone age? I also received connection
    refused error, and everything was set up exactly like the server with 6.1
    EXCEPT the SQL 2000 sp4. Are there incompatible java drivers? Is this the
    problem? Has anyone one come up with a solution that uses CF's native JDBC
    drivers?

    eric_moore1 Guest

  10. #9

    Default Re: Error establishing socket. Connection refused:connect

    Hi PTGreg,

    I'm having the exact same problem with CF. Did you solve this problem by any chance?

    Thanks,
    William
    deneb410 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139