The TCP/IP connection was unexpectedly terminated by the server (NNTP)

I had a prior thread on this topic which was apparently closed to further posts:
http://homecommunity.cisco.com/t5/Wireless-Routers/The-TCP-IP-connection-was-unexpectedly-terminated...
so I'm opening this new thread. The problem was never solved and I could not deal with the help being offered here previously.
The problem is...
My connection to a NNTP news service which I use very frequently is reset every 10 minutes so that I get the message: The TCP/IP connection was unexpectedly terminated by the server.
I have been getting this error at least a dozen times per day for more than a year. So it has become a major annoyance and I want to fix it if possible. I wonder if there's any new insight available? I'm not a rank beginner but am far from being a router expert. I do not understand many of the router settings.
Here's a more detailed description of the problem...
After getting the error, I must then click on something else in my email client (Outlook Express) then return to click on a newsgroup under that news service, whereupon it reestablishes a valid connection for another 10 minutes. If I am active and click on various messages to read them in the newsgroup, the 10 minute timeout does not happen. It's only when I have left the connection idle without activity for 10 minutes that it times out.
This is a news server which requires an authenticated login with username and password. The same problem happens at a different news server which also requires an authenticated login with username and password. So it is not a problem unique to just one news service. It affects all news services which have an authenticated login requirement. An example news service with a sample newsgroup which has this type of problem is
news:\\news.eternal-september.org\alt.free.newsservers
It's free but you must register at http://eternal-september.org/ to use this news service.
It does not happen at open news services without any login requirements. So it is definitely related to the login requirement.
Perhaps most importantly, it does not happen if I remove the Linksys E2000 router from the circuit and connect my DSL modem directly to computer. So it is definitely a router-related problem causing this inactivity timeout every 10 minutes.
Windows XP Home SP3
Outlook Express 6
Zone Alarm 6.1.744.001
Linksys E2000 router
firmware 1.0.04 build 7
software 1.3.11006.1
connection type (WAN) DHCP
mostly the default settings used

[It is very frustrating to try to work with this board because of the short timeout invoked when editing a message! The following is what I intended to post after a bit of reflection...]
I researched this a bit and bridge mode is available via a setting in my Speedstream 4100 modem, so I don't have to call my ISP. But I'll need to research the consequences a bit more and record some variables to make sure I can get back to my current configuration. There are 3 available settings (radio buttons) in my modem...
PPP Location
WARNING
Changing these settings may interfere with your ability to connect to the Internet.
*  PPP is on the modem. This is the normal mode for this modem when connected to a single computer. In this mode, the PPP session is initiated from the modem. Gateways and routers should work in this mode but their configuration may have to be changed to do so (e.g., you may need to have the gateway/router IP address changed to 192.168.1.1).
*  PPP is on the computer. This mode is normally used if you need to run a PPPoE client on your PC. This mode can be used with a gateway or router which initiates a PPPoE session. To return to the DSL modem user interface you will need to directly connect your PC to the modem without any gateway or router between the modem and the PC.
*  Bridged Mode (PPPoE is not used). This mode must be used if you are connecting to a non-PPPoE network. Selecting this mode will cause the modem to automatically restart.

Similar Messages

  • Every time I try to sign on it says that ichat lost the connection to the AIM account and the server connection was unexpectedly lost.  How can I fix this?

    Every time I try to sign on it says that ichat lost the connection to the AIM account and the server connection was unexpectedly lost.  How can I fix this?

    Note For others.
    For the Port Changes (or server names in some cases) you have to be logged out to make changes on the Server Settings pane.
    9:41 PM      Friday; October 28, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • TcpListener not working on Azure: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

    Hi Everybody,
    i'm playing a little bit with Windows Azure and I'm blocked with a really simple issue (or maybe not).
    I've created a Cloud Service containing one simple Worker Role. I've configured an EndPoint in the WorkerRole configuration, which allows Input connections via tcp on port 10100.
    Here the ServiceDefinition.csdef file content:
    <?xml version="1.0" encoding="utf-8"?>
    <ServiceDefinition name="EmacCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-01.2.3">
    <WorkerRole name="TcpListenerWorkerRole" vmsize="Small">
    <Imports>
    <Import moduleName="Diagnostics" />
    <Import moduleName="RemoteAccess" />
    <Import moduleName="RemoteForwarder" />
    </Imports>
    <Endpoints>
    <InputEndpoint name="Endpoint1" protocol="tcp" port="10100" />
    </Endpoints>
    </WorkerRole>
    </ServiceDefinition>
    This WorkerRole is just creating a TcpListener object listening to the configured port (using the RoleEnvironment instance) and waits for an incoming connection. It receives a message and returns a hardcoded message (see code snippet below).
    namespace TcpListenerWorkerRole
    using System;
    using System.Net;
    using Microsoft.WindowsAzure.ServiceRuntime;
    using System.Net.Sockets;
    using System.Text;
    using Roche.Emac.Infrastructure;
    using System.IO;
    using System.Threading.Tasks;
    using Microsoft.WindowsAzure.Diagnostics;
    using System.Linq;
    public class WorkerRole : RoleEntryPoint
    public override void Run()
    // This is a sample worker implementation. Replace with your logic.
    LoggingProvider.Logger.Info("TcpListenerWorkerRole entry point called");
    TcpListener listener = null;
    try
    listener = new TcpListener(RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint);
    listener.ExclusiveAddressUse = false;
    listener.Start();
    LoggingProvider.Logger.Info(string.Format("TcpListener started at '{0}:{1}'", RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Address, RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Port));
    catch (SocketException ex)
    LoggingProvider.Logger.Exception("Unexpected exception while creating the TcpListener", ex);
    return;
    while (true)
    Task.Run(async () =>
    TcpClient client = await listener.AcceptTcpClientAsync();
    LoggingProvider.Logger.Info(string.Format("Client connected. Address='{0}'", client.Client.RemoteEndPoint.ToString()));
    NetworkStream networkStream = client.GetStream();
    StreamReader reader = new StreamReader(networkStream);
    StreamWriter writer = new StreamWriter(networkStream);
    writer.AutoFlush = true;
    string input = string.Empty;
    while (true)
    try
    char[] receivedChars = new char[client.ReceiveBufferSize];
    LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
    int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
    char[] validChars = new char[readedChars];
    Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
    input = new string(validChars);
    LoggingProvider.Logger.Info("This is what the host sent to you: " + input+". Readed chars=" + readedChars);
    try
    string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
    writer.Write(orderResultFormat);
    catch (Exception e)
    LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
    client.Close();
    break;
    catch (Exception ex)
    LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
    client.Close();
    break;
    }).Wait();
    public override bool OnStart()
    // Set the maximum number of concurrent connections
    ServicePointManager.DefaultConnectionLimit = 12;
    DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");
    RoleEnvironment.Changing += RoleEnvironment_Changing;
    return base.OnStart();
    private void RoleEnvironment_Changing(object sender, RoleEnvironmentChangingEventArgs e)
    // If a configuration setting is changing
    LoggingProvider.Logger.Info("RoleEnvironment is changing....");
    if (e.Changes.Any(change => change is RoleEnvironmentConfigurationSettingChange))
    // Set e.Cancel to true to restart this role instance
    e.Cancel = true;
    As you can see, nothing special is being done. I've used the RoleEnvironment.CurrentRoleInstance.InstanceEndpoints to retrieve the current IPEndpoint.
    Running the Cloud Service in the Windows Azure Compute Emulator everything works fine, but when I deploy it in Azure, then I receive the following Exception:
    2014-08-06 14:55:23,816 [Role Start Thread] INFO EMAC Log - TcpListenerWorkerRole entry point called
    2014-08-06 14:55:24,145 [Role Start Thread] INFO EMAC Log - TcpListener started at '100.74.10.55:10100'
    2014-08-06 15:06:19,375 [9] INFO EMAC Log - Client connected. Address='196.3.50.254:51934'
    2014-08-06 15:06:19,375 [9] INFO EMAC Log - Buffer size: 65536
    2014-08-06 15:06:45,491 [9] FATAL EMAC Log - Unexpected exception while Reading the request
    System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    --- End of inner exception stack trace ---
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
    at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
    at TcpListenerWorkerRole.WorkerRole.<>c__DisplayClass0.<<Run>b__2>d__0.MoveNext() in C:\Work\Own projects\EMAC\AzureCloudEmac\TcpListenerWorkerRole\WorkerRole.cs:line 60
    I've already tried to configure an internal port in the ServiceDefinition.csdef file, but I get the same exception there.
    As you can see, the client can connect to the service (the log shows the message: Client connected with the address) but when it tries to read the bytes from the stream, it throws the exception.
    For me it seems like Azure is preventing the retrieval of the message. I've tried to disable the Firewall in the VM in Azure and the same continues happening.
    I'm using Windows Azure SDK 2.3
    Any help will be very very welcome!
    Thanks in advance!
    Javier
    En caso de que la respuesta te sirva, porfavor, márcala como válida
    Muchas gracias y suerte!
    Javier Jiménez Roda
    Blog: http://jimenezroda.wordpress.com

    hi Javier,
    I changed your code like this:
    private AutoResetEvent connectionWaitHandle = new AutoResetEvent(false);
    public override void Run()
    TcpListener listener = null;
    try
    listener = new TcpListener(
    RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint"].IPEndpoint);
    listener.ExclusiveAddressUse = false;
    listener.Start();
    catch (SocketException se)
    return;
    while (true)
    IAsyncResult result = listener.BeginAcceptTcpClient(HandleAsyncConnection, listener);
    connectionWaitHandle.WaitOne();
    The HandleAsync method is your "While (true)" code:
    private void HandleAsyncConnection(IAsyncResult result)
    TcpListener listener = (TcpListener)result.AsyncState;
    TcpClient client = listener.EndAcceptTcpClient(result);
    connectionWaitHandle.Set();
    NetworkStream netStream = client.GetStream();
    StreamReader reader = new StreamReader(netStream);
    StreamWriter writer = new StreamWriter(netStream);
    writer.AutoFlush = true;
    string input = string.Empty;
    try
    char[] receivedChars = new char[client.ReceiveBufferSize];
    // LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
    int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
    char[] validChars = new char[readedChars];
    Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
    input = new string(validChars);
    // LoggingProvider.Logger.Info("This is what the host sent to you: " + input + ". Readed chars=" + readedChars);
    try
    string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
    writer.Write(orderResultFormat);
    catch (Exception e)
    // LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
    client.Close();
    catch (Exception ex)
    //LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
    client.Close();
    Please try it. For this error message, I suggest you could refer to this thread (http://stackoverflow.com/questions/6173763/using-windows-azure-to-use-as-a-tcp-server
    ) and this post (http://stackoverflow.com/a/5420788).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Connection was unexpectedly dropped??

    Hi there,
    Can anyone PLEASE HELP ME 8) I am running the code below where I am connected to AS/400. But every so often when I attempt to execute the query I get an error saying the connection was unexpectedly dropped. I have no idea as to why this happens. It only happens sometimes??
    select = connection.createStatement();
    try
    resultSet = select.executeQuery(command); //where command is the SQL select statement.
    //catch(com.ibm.as400.access.ConnectionDroppedException e)
    catch(SQLException e)
    System.out.println(e.getMessage());
    Any help will be extremely appreciated 8)

    Cross posting is not popular but atleast u got the right forum this time ;-) http://forum.java.sun.com/thread.jsp?forum=31&thread=315488
    Connections usually get dropped after a period of inactivity.
    One option is to check for a closed connection before every qwery: e.g.
    if( connection.isClosed() )
      connection = DriverManager.getConnection( "url", "user", "pass" );
    select = connection.createStatement();
    ...the other option is to use a connection pool as i suggested in my answer to your cross-post.
    p.s. you should declare statments / resultsets locally and close them in finally blocks otherwise you will have some some serious row / table locking problems.

  • Java.sql.SQLException: The TCP/IP connection to the host  has failed.

    Hello. I hope you had a happy new year! Now its back to work.
    I am having a problem connecting to a remote SQL Server DB. I am using NetBeans 5.5 and the latest J2EE. I am able to see the tables in the IDE and bind objects to data. But when I run it it gets this:
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: no further information
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:100)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:344)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:126)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:968)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1428)
    I checked the SQL Server Configuration manager on that machine and TCP/IP connections are allowed. What else could be wrong?
    Thank You.

    "Connection refused" means that the client sends a packet saying "I would like to connect to port number NNNN please" to the server computer, and the server computer's OS sends the reply "there is no process listening to that port on the network interface you are using".
    The database server is not running, or running but not listening to TCP/IP connections, or at a different port from what you think, or listening to only selected network interfaces (it is possible for a process to listen to a specific interface or a wildcard for all interfaces). A less likely scenario is that a firewall is sending the "connection refused" message.
    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port. You need to configure the database to accept TCP connections; the server documentation or google should explain how.
    - Try "telnet server-host-name the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try telnet with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • Acrobat 7.0 OCR: Unable to process the page because the Paper Capture recognition service unexpectedly terminated

    Hello,
    This error occurs on some computers and but not others. I even tested it with the most basic word document, no formatting and scanned it.
    It works on a few systems but others get the message:
    Unable to process the page because the Paper Capture recognition service unexpectedly terminated.
    Does anyone have any suggestions? Did 7.0 have issues?
    Thanks

    You still didn't answer for Michael the version of 7  At one time adobe prodived and standrad version and a pro version. Standard basically done the same thing as the Print to PDF feature in the Print Menu (of the Macintosh).
    Pro added features such as forms creation.
    Also the exact version number can be found in the about acrobat under the Acrobat menu.
    example for my version would be:           

  • The TCP/IP connection to the host 127.0.0.1 , port 1433 has failed

    hi all,
    i am using SQL2005 server as my database server. i am trying to connect this server in java (i mean using JDBC). i am using windows authentication to connect my sqlserver.
    i have the url connection like this
    DriverManager.getConnection("jdbc:sqlserver://127.0.0.1\\SQL2005/database name",username","password");
    i am trying to connect the server using the above URL, but i couldn't connect it throws an error as the following.
    The TCP/IP connection to the host  127.0.0.1 , port 1433 has failed. Error: "Connection refused: connect. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".
    could anyone plz help me to make the connection in right way.
    i have tried to ping via telnet as well, even telnot not able to connect
    plz help me...
    thanks

    Hi,
    Besides Madhu mentioned, please check the TCP/IP port number of the instance of SQL Server.
    1. Open SQL Server Configuration Manager, and then expand SQL Server 2005 Network Configuration.
    2. Click Protocols for InstanceName, and then make sure TCP/IP is enabled in the right panel and double-click TCP/IP.
    3. On the Protocol tab, notice the value of the Listen All item.
    4. Click the IP Addresses tab:
    If the value of Listen All is yes, the TCP/IP port number for this instance of SQL Server 2005 is the value of the TCP Dynamic Ports item under IPAll.
    If the value of Listen All is no, the TCP/IP port number for this instance of SQL Server 2005 is the value of the TCP Dynamic Ports item for a specific IP address.
    5. Make sure the TCP Port is 1433.
    6. Click OK.
    If there are any more questions, please let me know.
    Thanks.
    ***Xiao Min Tan***Microsoft Online Community***

  • The TCP/IP connection to the host localhost, port 1433 has failed.

    Hi, im using sql server 2000,
    i have declared this in my program:
    Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
    String url = "jdbc:sqlserver://localhost:1433;databaseName=Factura";
    Connection conn = DriverManager.getConnection(url,"sa","");and is giving me this exception:
    run:
    Got an exception!
    The TCP/IP connection to the host localhost, port 1433 has failed.
    Error: "connect timed out.
    Verify the connection properties,
    check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port,
    and that no firewall is blocking TCP connections to the port.".
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed.
    Error: "connect timed out. Verify the connection properties,
    check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port,
    and that no firewall is blocking TCP connections to the port.".
            at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:171)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1033)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:817)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:700)
            at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:842)
            at java.sql.DriverManager.getConnection(DriverManager.java:582)
            at java.sql.DriverManager.getConnection(DriverManager.java:185)
            at factura.FacturaView.conexion(FacturaView.java:317)
            at factura.FacturaView.jTextField1KeyPressed(FacturaView.java:268)
            at factura.FacturaView.access$900(FacturaView.java:41)
            at factura.FacturaView$5.keyPressed(FacturaView.java:150)
            at java.awt.Component.processKeyEvent(Component.java:6225)
            at javax.swing.JComponent.processKeyEvent(JComponent.java:2801)
            at java.awt.Component.processEvent(Component.java:6044)
            at java.awt.Container.processEvent(Container.java:2041)
            at java.awt.Component.dispatchEventImpl(Component.java:4630)
            at java.awt.Container.dispatchEventImpl(Container.java:2099)
            at java.awt.Component.dispatchEvent(Component.java:4460)
            at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
            at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
            at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
            at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
            at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
            at java.awt.Component.dispatchEventImpl(Component.java:4502)
            at java.awt.Container.dispatchEventImpl(Container.java:2099)
            at java.awt.Window.dispatchEventImpl(Window.java:2478)
            at java.awt.Component.dispatchEvent(Component.java:4460)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    BUILD SUCCESSFUL (total time: 34 seconds)how can i solve this?
    thanks..
    Edited by: derok on Dec 8, 2010 1:31 PM
    Edited by: derok on Dec 8, 2010 9:14 PM
    Edited by: derok on Dec 11, 2010 1:51 PM
    Edited by: derok on Dec 11, 2010 1:52 PM

    tschodt wrote:
    derok wrote:
    1434 did not worked eitherWhat port is your SQL Server listening on?
    List of active ports:
    C:\> netstat -naboOn linux I would add -l and -t to only get listening TCP ports.netstat -nabo gave me this:
    Active Connections
      Proto  Local Address          Foreign Address        State           PID
      TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       2004
      [httpd.exe]
      TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       1148
      e:\windows\system32\WS2_32.dll
      E:\WINDOWS\system32\RPCRT4.dll
      e:\windows\system32\rpcss.dll
      E:\WINDOWS\system32\svchost.exe
      E:\WINDOWS\system32\ADVAPI32.dll
      [svchost.exe]
      TCP    0.0.0.0:443            0.0.0.0:0              LISTENING       2004
      [httpd.exe]
      TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
      [System]
      TCP    0.0.0.0:2869           0.0.0.0:0              LISTENING       1528
      E:\WINDOWS\system32\httpapi.dll
      e:\windows\system32\ssdpsrv.dll
      E:\WINDOWS\system32\RPCRT4.dll
      [svchost.exe]
      TCP    0.0.0.0:3306           0.0.0.0:0              LISTENING       2428
      [mysqld.exe]
      TCP    0.0.0.0:4400           0.0.0.0:0              LISTENING       2592
      [nlsvc.exe]
      TCP    0.0.0.0:7511           0.0.0.0:0              LISTENING       204
      [raysat_3dsmax2010_32server.exe]
      TCP    127.0.0.1:1028         0.0.0.0:0              LISTENING       3080
      [alg.exe]
      TCP    127.0.0.1:5152         0.0.0.0:0              LISTENING       188
      [jqs.exe]
      TCP    192.168.0.101:139      0.0.0.0:0              LISTENING       4
      [System]
      TCP    127.0.0.1:5152         127.0.0.1:1163         CLOSE_WAIT      188
      [jqs.exe]
      TCP    192.168.0.101:2869     192.168.0.1:4563       CLOSE_WAIT      4
      [System]
      UDP    0.0.0.0:500            *:*                                    908
      [lsass.exe]
      UDP    0.0.0.0:445            *:*                                    4
      [System]
      UDP    0.0.0.0:4500           *:*                                    908
      [lsass.exe]
      UDP    0.0.0.0:1434           *:*                                    3036
      [sqlbrowser.exe]
      UDP    127.0.0.1:123          *:*                                    1284
      e:\windows\system32\WS2_32.dll
      e:\windows\system32\w32time.dll
      ntdll.dll
      E:\WINDOWS\system32\kernel32.dll
      [svchost.exe]
      UDP    127.0.0.1:1135         *:*                                    3508
      [iexplore.exe]
      UDP    127.0.0.1:1040         *:*                                    1284
      e:\windows\system32\WS2_32.dll
      E:\WINDOWS\system32\WINHTTP.dll
      E:\WINDOWS\system32\upnp.dll
      E:\WINDOWS\system32\RPCRT4.dll
      E:\WINDOWS\system32\ole32.dll
      [svchost.exe]
      UDP    127.0.0.1:44301        *:*                                    2880
      [PnkBstrA.exe]
      UDP    127.0.0.1:1900         *:*                                    1528
      e:\windows\system32\WS2_32.dll
      e:\windows\system32\ssdpsrv.dll
      E:\WINDOWS\system32\ADVAPI32.dll
      E:\WINDOWS\system32\kernel32.dll
      [svchost.exe]
      UDP    192.168.0.101:1900     *:*                                    1528
      e:\windows\system32\WS2_32.dll
      e:\windows\system32\ssdpsrv.dll
      E:\WINDOWS\system32\ADVAPI32.dll
      E:\WINDOWS\system32\kernel32.dll
      [svchost.exe]
      UDP    192.168.0.101:137      *:*                                    4
      [System]
      UDP    192.168.0.101:123      *:*                                    1284
      e:\windows\system32\WS2_32.dll
      e:\windows\system32\w32time.dll
      ntdll.dll
      -- unknown component(s) --
      [svchost.exe]
      UDP    192.168.0.101:138      *:*                                    4
      [System]Edited by: derok on Dec 10, 2010 11:04 AM
    Edited by: derok on Dec 10, 2010 11:11 AM

  • The TCP/IP connection to the host  has failed.

    Hi everyone;
    I have project with Java and Sql server 2000.My application server is Jetty.I work this tool successfully in Windows 2000 Server but I cant in XP Pro Service Pack 2.I take this message :
    The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect
    My Sql Server TCP/IP enabled and port 1433.There is problem here.Because I cant connect 1433.I tried this command.
    telnet localhost 1433 .It is failed.I tried to open this port in firewall.Still problem is continue.
    I am waiting for ur answer...

    please help me by giving the solution.Help yourself by fixing the connection settings OR your network. The error is very clear: no connection can be made to the database. So what could it be? Wrong IP? A firewall is blocking you somewhere?
    Nobody can tell you, you are the only one with access to your server settings and network environment.

  • The Previous System Shutdown Was Unexpected

    Dears,
    We have Windows Server 2008 R2, while I was checking log files I have found error log in even-system this message"The previous system shutdown was unexpected" even the server didn't restarted, kindly I need solution why the server didn't shutdown
    or restarted but the log file showing this message?
    Thanks..

    Thanks, how do I know the server is restarted except event log? Is there other way to tell me the server is restarted like commend line or group policy?
    check the date/time of the pagefile
    filter your system log on the surrounding related events
    this will help you confirm if the machine did, or did not, restart.
    If it did restart, you still need to determine why.... (again, the surrounding events will often reveal the cause)
    [maybe a software agent, maybe a hardware agent, maybe a human agent ;]
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Microsoft // Winlogon 4005 (The Windows logon process has unexpectedly terminated) on one Windows Server 2012 VM with working RDS roles installed

    Hello experts,
    I have deployed all essential RDS roles and features on one Windows Server 2012 Virtual Machine
    a few months ago and I recently ran into issues with users not being able to access it through RDP all of a sudden after entering credentials successfully.
    Every time that happens I get an event ID Winlogon 4005 (The Windows logon process has unexpectedly
    terminated). I am also receiving but not all the time event ID 6000 and 6003 referring to being unable to handle critical or normal events from AUinstallAgent.
    Any help on this problem would be greatly appreciated.
    Thank you in advance for your support.
    Massimiliano

    Hello experts,
    I have deployed all essential RDS roles and features on one Windows Server 2012 Virtual Machine
    a few months ago and I recently ran into issues with users not being able to access it through RDP all of a sudden after entering credentials successfully.
    Every time that happens I get an event ID Winlogon 4005 (The Windows logon process has unexpectedly
    terminated). I am also receiving but not all the time event ID 6000 and 6003 referring to being unable to handle critical or normal events from AUinstallAgent.
    Any help on this problem would be greatly appreciated.
    Thank you in advance for your support.
    Massimiliano

  • Com.microsoft.sqlserver.jdbc.SQLServerException The TCP/IP connection  fail

    * While executing the following JDBC code with SQLServer 2005, it throws Exception
    * I dont wts wrong in my code, (Note: I have included the sqljdbc.jar in my path)
    * Pls let me know the problems in my code
    * Thanks, Following is my code and error
    My Coding :
    import java.sql.*;
    public class JDBCwithJava {
         public void work() {
               // Create a variable for the connection string.
               String connectionUrl = "jdbc:sqlserver://localhost:1433;" +"databaseName=empdb";
               // Declare the JDBC objects.
               Connection con = null;
               Statement stmt = null;
               ResultSet rs = null;
               try {
                    //Load the driver
                  Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
                  // Establish the connection.
                  con = DriverManager.getConnection(connectionUrl);
                  System.out.println("Database Successfully Connected...!");
                  //Connection Info
                  DatabaseMetaData dm = con.getMetaData();
                 System.out.println("Driver Information");
                 System.out.println("\t Driver Name: "+ dm.getDriverName());
                 System.out.println("\t Driver Version: "+ dm.getDriverVersion ());
                 System.out.println("\n Database Information ");
                 System.out.println("\t Database Name: "+ dm.getDatabaseProductName());
                 System.out.println("\t Database Version: "+ dm.getDatabaseProductVersion());
                  // Create and execute an SQL statement that returns some data.
                  String SQL = "select  * from emptable";
                  stmt = con.createStatement();
                  rs = stmt.executeQuery(SQL);
                  // Iterate through the data in the result set and display it.
                  while (rs.next()) {
                     System.out.println(rs.getInt(1) + " " + rs.getString(2));
               // Handle any errors that may have occurred.
               catch (Exception e) {
                  e.printStackTrace();
               finally {
                  if (rs != null)
                       try {
                            rs.close();
                      catch(Exception e) {
                  if (stmt != null) try { stmt.close(); } catch(Exception e) {}
                  if (con != null) try { con.close(); } catch(Exception e) {}
         public static void main(String ar[]){
              JDBCwithJava call = new JDBCwithJava();
              call.work();
    Error :
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host  has failed. java.net.ConnectException: Connection refused: connect
         at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at JDBCwithJava.work(JDBCwithJava.java:17)
         at JDBCwithJava.main(JDBCwithJava.java:58)

    Do you have SQL Server on your box? Is it listening on port 1433?
    I also don't see any username/password information provided to the JDBC driver.

  • HT4623 I am updating my school's operating system for my iPads.  I have been able to complete 2 carts of 30 (60 total). The next cart I was able to download the IOS6.3.1 update but it states the install is not available. Good internet connection.

    I am updating my school's operating system for my iPads.  I have been able to complete 2 carts of 30 (60 total). The next cart I was able to download the IOS6.3.1 update but it states the install is not available. Good internet connection.  Please advise.....
    Thanks!

    Hi nytesinger,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Click on the link to see more details and screenshots. 
    Apple Configurator Help: About Apple Configurator
    http://help.apple.com/configurator/mac/1.3/#cadf1802aed
    Apple Configurator Help: Prepare devices
    http://help.apple.com/configurator/mac/1.3/#cad96c7acd6
    Cheers,
    - Judy

  • I have an old iPhone 3Gs with software version 4.3.5,  I am trying to use it again, and it works fine, but I have not been able to update the software.  Every time I try, I get the following message: "there was a problem downloading the software for the i

    I have an old iPhone 3Gs with software version 4.3.5,  I am trying to use it again, and it works fine, but I have not been able to update the software.  Every time I try, I get the following message:
    "there was a problem downloading the software for the iPhone, the network connection could not be established".  This happens even though I have a working internet connection.
    Besides that, all the other functions work properly, even synchronize apps and library.
    Will I be able to update the software?

    look around the forum tons of people repport that they can't update
    makes you suspect that apples update servers can't meet the depand of too many users
    trying to update at once

  • Could not generate stub object - The element type "META" must be terminated by the matching end-tag "".

    I am getting the following error message when I try invoking
    a webservice.
    Could not generate stub objects for web service invocation.
    Name: ProgrammePrivilege. WSDL:
    https://clientaccweb.reseaudistinction.com/CardHolderInfo.asmx?WSDL.
    org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The
    element type "META" must be terminated by the matching end-tag "".
    It is recommended that you use a web browser to retrieve and
    examine the requested WSDL document for correctness. If the
    requested WSDL document can't be retrieved or it is dynamically
    generated, it is likely that the target web service has programming
    errors.
    The problem is, the webservice is working fine, the
    application was working yesterday, the error message just appears
    after a couple of days and I have to refresh the service in the CF
    Administrator. Once I refresh it, everything starts working again.
    Anyone else got this problem? ANY help would be appreciated!
    If you guys need my code anyway, I can attach it but like I
    said, everything works for a couple of days, then, out of the blue,
    it stops working so I doubt that it's my CFINVOKE that's the
    problem...

    Similar kind of problems here - reported back to Adobe a
    couple of months ago, so let's wait and hope for the best. My
    problems have related to registering multiple web services and
    executing them. One problem is that, If I register two identical
    (and quite complex) web services, I can only execute either of
    them. After CF restart, either of them works, but invoking the
    other doesn't work.
    For example; CF_Restart -> Try A first, A works -> B
    doesn't. Also, CF_Restart -> Try B first, B works -> A
    doesn't.
    CFMX7.0.2, Apache 2.2, WinXP

Maybe you are looking for

  • How do I install an Airport card on a G3?

    I bought this Powerbook G3 a while ago, with only Ethernet connection, and I finally broke down and bought an Airport card, after trying some of the other stuff! I have the card 90% into the slot on the left back side of my Powerbook but how do you g

  • ThinkPad USB Keyboard with TrackPoint issues with scroll (55Y9003)

    Hi Guys, I am having issues with this  keyboard... I ordered it to use it  on my work where I have Dell Vostro desktops. However scroll simply doesn't work in all programs and even stops working ... I also using VM and it doesn't work at all in VMWAR

  • So where we see the status of this work order request

    Hi All, I have submitted work order WO00034931 in SAP for a new vendor address but it seems my approver (Andre Vabre) never received it. In SAP, its status is “Submitted for Approval”. So where we see the status of this work order request Thanks, Kum

  • Can't see Prefrence Dialog box

    I Cannot see my prefrence Dialog box adobe illustrator.  I click it in the file menu or press cmd k and my tool bar disable but the dialog box does not pop up.  I can't do anything untill I press escape.  Then i get back to the program.  It is clearl

  • Err = -3259

    Hello, I am trying to update iPhone 3G from version 4.2.1 to 4.3.3 via iTunes. But after download at the "processing file" section a get an error message "err = -3259". Please can anybody help... Thank You