Urgent.News

What's breaking now, across thousands of outlets.

Tech

App can't connect to the server? Use Test-NetConnection before you reinstall

"The app says it can't connect to the server" is a classic help desk ticket. The tempting fix is to reinstall the app. Before you do that, spend one minute finding out whether the problem is the network path or the app itself. On Windows, PowerShell has a built-in command for exactly this: Test-NetConnection . What Test-NetConnection does Test-NetConnection (alias tnc ) checks whether your…

Encountering an error message stating "Unable to connect to the server" is a common issue that support teams often encounter. While the initial inclination may be to reinstall the problematic application, it is advisable to first investigate whether the root cause lies within the network or the application itself. In Windows, PowerShell offers a built-in command, Test-NetConnection, which aids in diagnosing precisely this scenario. Here's how to use it effectively.

To begin, identify the server's name and port number referenced by the application. This information can typically be found in the application's settings, vendor documentation, or internal knowledge base. Common ports involved are 443 for HTTPS web services, 445 for Windows file shares (SMB), 3389 for Remote Desktop, and 1433 for Microsoft SQL Server (default instance).

Next, open PowerShell and execute the command: Test-NetConnection appserver01 -Port 443. Swap 'appserver01' with the actual server name and '443' with the application's specific port. This command initiates a TCP connection attempt to the specified port.

Upon running the command, the output will indicate whether the name resolution succeeded or failed. If name resolution fails, the issue stems from the computer's inability to translate the server name into an IP address, pointing to a DNS issue. In such cases, the command Resolve-DnsName appserver01 can help identify the problem. If the user is accessing the server remotely, ensure they are connected to the company's VPN, as internal hostnames may only resolve within the corporate network.

If name resolution is successful, the command will return 'TcpTestSucceeded : True', confirming that the port is reachable from the user's computer. This suggests that the network path is clear, and the issue may lie within the application itself, such as login credentials, app version, configuration, or server-side services.

On the other hand, if 'TcpTestSucceeded : False', it indicates that while the server name was resolved, the connection attempt failed. At this point, the focus should shift to network-related factors, such as the VPN connection status, whether other users are experiencing the same issue, and the operational status of the service on the server. For a more detailed analysis, the -InformationLevel Detailed parameter can be appended to the command, providing additional insights into the traffic's journey.

Documenting the command used, the server name, port number, and the outcome in the support ticket is crucial. For example, a result might look like this: "TcpTestSucceeded False to appserver01:443 from user's laptop on VPN." This detailed information enables the next support team to swiftly identify the next course of action, preventing unnecessary reinstallation of the application and ensuring a more efficient resolution.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Three of Five Founder Mailboxes Rejected first.last, the Layout Everyone Defaults To

I run a visa agency in Bali, and the other half of my week goes into Apify Actors. One of them is narrow on purpose: you give it a LinkedIn profile URL, it gives you back the person's name, title…

  • Three out of five founder mailboxes rejected default layout first.last
  • Second choice first@domain.com succeeded in three out of five instances
  • Default layout fails due to lack of personal address info on company websites

Predicting the Financial Health of Small Businesses with Python

Introduction Small businesses keep many African economies going, but it is often a struggle for their owners when it comes to getting loans, insurance and other financial services.

  • Dataset of 9,618 small business owners from four African countries used
  • Financial Health Index classifies businesses into low, medium, high health
  • Categorical columns cleaned, missing data handled based on criteria

A Lab Just Open-Sourced Its Training Harness (Plus 501B Weights)

Reflection AI dropped Beam this week — 501 billion parameters of open weights under Apache 2.0. That's the headline. But here's what actually caught my eye: they also open-sourced Mirror CLI, their…

  • Reflection AI released Beam, a 501 billion parameter open-weight model.
  • Mirror CLI is the training harness, a rare move by labs to share training code.
  • Beam supports BF16, FP8, and NVFP4 weight formats for fine-tuning and pretraining.

Studyforge

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle What I Built I built Studyforge , a locally hosted assessment builder for teachers, professors, tutors, and…

  • Studyforge is a locally hosted assessment builder for educators.
  • Uses Ollama with Gemma 3 270M model for offline question generation.
  • Operates as Node.js and Express app, no paid plans.

More from Saturday 17 October →