Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Cannot connect to server - server is not available

When you see the message, "Cannot connect to server: Server at 'http(s)://<host>:<port> is not available: Connection refused," it means that:

  • the Klocwork Server may be down, or
  • the Klocwork Server host and port information may be inaccurate, or
  • your network is down

The above message displays for Klocwork Desktop, IDE plug-in and kwcheck users when your connected desktop project fails to synchronize with the server project. Synchronization problems are indicated with this icon: . Mousing over the icon displays the sync error message.

  1. Your first step is to see if it's a network problem. Try connecting to your internet or intranet.
  2. If you have access, verify your current Klocwork Server host and port settings. Accessing this information varies depends on the Klocwork developer tool you're using.
  3. If you're certain that the information is correct, then it's possible that the Klocwork Server is down. Here's the link for server startup instructions: Managing the Klocwork Servers. But if you don't have the permissions necessary to do this, you're going to have to bug your Klocwork administrator again.

You'll know Connected desktop and synchronization is working again when you see the Project is synchronized icon.