Tuesday, 29 October 2013

Diagnose why you can’t connect to servers or sites

Most programs that you use to connect to servers or site on a local network or the Internet display only basic information when a connection attempt fails.
These basic information are usually not enough to find out why the connection failed, and while it sometimes helps to try again, you often need to troubleshoot the issue to find out what is happening.
Operating systems ship with tools that let you do so. You can use basic commands such as ping or tracert for example to find out more about a connection.
The free cross-platform application Why Can't I Connect? has been designed to resolve TCP/IP connection errors.

Diagnose connection errors

why cant I connect
The free program displays a blank screen on startup. You need to use the file toolbar or main toolbar to test various connection types. The supported operations include testing the following connections:
  • Connection to a Microsoft SQL Server or MySQL server
  • Connections to FTP or SFTP servers
  • Connections to POP3, IMAP or SMTP servers
  • Connections to an IRC server
  • Connections to an LDAP server
  • Connections to an Usenet server
  • Generic client or server connections based on IP address / hostname and port.
To start, select one of the available options and enter IP address / hostname and port information, or other required information, to start the diagnosis of the connection. The process may take a while and you are presented with an overview in the end that helps you find out more about the connection failure.

connect failed
Note that this dialog is complemented by a log of all connection attempts and look-ups the program made in the main interface.
If the connection fails, you will receive suggestions why no connection could be established to the selected server.
One interesting option that you have is to create a generic server or client and test the connectivity of the computer using them. This can be useful to make sure that generic connection attempts are not blocked. If they are blocked as well, you can be fairly certain that something is preventing the connection (a firewall for instance), and if the connection goes through, you may want to start looking into the service's configuration to double-check that all parameters are in order.
The advanced menu provides you access to the entire socket process from Bind to Close so that you can go through each step of the process one by one.
Why Can't I Connect supports other features, like bridging, which inserts the application between a client and server so that you can better diagnose connection attempts between the two systems.

Closing Words

Why Can't I Connect is a helpful troubleshooting tool for various operating systems that you can use to diagnose connection issues between client and server system

Use QuickSetDNS to change between DNS configurations in a heartbeat

Use QuickSetDNS to change between DNS configurations in a heartbeat

The DNS system is one of the cornerstones of the Internet. It is used mainly to look up the IP address of a domain name so that the requests reach the right server on the Internet.
Most Internet users are probably using the default DNS service of their Internet Service Provider (ISP). That's not a bad thing most of the time, as it works right out of the box.
There are however a couple of issues that users may identify when they are using the default DNS of their ISP. The following -- incomplete -- list looks at some of the more common issues that you may experience:
  • Look-ups may not be as fast as they can be, thus increasing the latency of the connection.
  • DNS may be used to block specific websites from being accessed, by either redirecting users away from the original server or by blocking connection attempts outright.
  • Your ISPs DNS service may be less reliable, which may result in look-up failures among other things.
Third party DNS providers may fix all those issues for you. In addition, they may offer other features such as phishing or botnet protection, web-based filtering, or typo correction that you can make use of.

QuickSetDNS

quick set dns
Nirsoft's QuickSetDNS is a free portable application for all recent versions of the Microsoft Windows operating system that enables you to switch between the default DNS provider and alternate providers with two clicks.
The program looks up the default DNS service first and adds it to the list of available services, so that you can go back to it whenever the need arises. It furthermore lists the Automatic DNS configuration and Google's Public DNS server.
If you want to add other providers, say OpenDNS, you can do so easily:
  1. Right-click in the main window and select New > DNS Server or use the shortcut Ctrl-N to open the dialog.
  2. Type a name for the new service (pick any descriptive name you want), and add at least two server IP addresses separated by a comma.
  3. Click OK to save the new server.
add dns server
The new server is added to the list of available DNS servers. To switch to it select it before you click on the activate DNS button in the interface. If you prefer the keyboard, use the F2 key to activate the selected DNS server.
Note: You may need to select the correct network adapter first before you do so if your computer has multiple interfaces installed.
There is another option that you can make use of to speed things up. You do not have to open the program manually first whenever you want to switch the DNS provider. It is possible to create a command that does so for you. Just select one of the providers in the program window before you select Edit > Copy SetDNS Command Line or press Ctrl-L.
This copies the command to set the selected DNS server to the clipboard. You can add it to a simple batch file for example to change the server with the click on the file.

Verdict

If you need to change DNS servers regularly on your system, for instance for testing purposes or because you are using different services for different purposes, then you may find QuickSetDNS helpful for that task.

Why you need to verify app developers before you download in Windows Store

If you have worked with Windows 8 before you have likely browsed the integrated Windows Store at least once to see what is on offer there. I personally think that Microsoft missed a chance here to include a universal app manager into the system that includes desktop and Windows apps.
While you do get links to some desktop apps right now, it is not the same as downloading verified virus-free programs from the store that auto-update automatically. Plus, I cannot figure out why some desktop apps are listed here while others are not.
Windows Store has its issues (this is a review of Windows 8 store, not Windows 8.1 store), and while some can surely be attributed to the store's (young) age, others are harder to explain as they reduce the user experience significantly.
I have talked about deceptive apps in store before, and also pointed out that -- what I called -- Media Player spam was running wild in store.
The situation has not really changed that much it seems since then, as you find those apps still listed in store. What may be even worse is that they still rise to the frontpage of the store every now and then.
A quick look at the new & rising category for instance lists VideoVLC Player there, while an application like LinkedIn HD is listed in the Trending category on the frontpage.
verify apps windows store
The problem? They are not official apps. Both hop on the bandwagon of popular programs (VLC) or services (LinkedIn) without being affiliated with them in any way.
If you are an experienced computer user, you are probably able to distinguish between first and third party apps published in the store. Inexperienced users on the other hand may install those apps because they believe they are the real deal, when they are not in fact.

Verify app developers

The best way to make sure that an application is legit -- that means a first party app produced by the company that offers a service, website or program-- is to verify the developer that has published it.
Here is what you need to do:
  1. Open the application page in Windows Store that you are interested in.
  2. Locate the "Published by" information on the page. This is displayed underneath the large screenshot of the app in Windows 8.1
  3. Here you find the name of the company or individual.
  4. It is usually enough to determine whether an application has been created by the right company or not.
  5. The official Facebook application has been published by Facebook, Inc. for example, while applications such as Facebook+ Lite, Facebook Forever, or Facebook Browser by WinApp8, awesome facebook and youtube devs, or iceDevs.
  6. You can click on it to display a list of apps that this developer has published. This provides you with additional information. If you see different apps listed here, say a YouTube, Facebook and LinkedIn app, you can be fairly certain that this is a third party developer and not a first party one.
Tip: You can alternatively search the Apps for Windows website over at Microsoft as it lists the publisher as well.
Reasons to verify developers
There are two main reasons why you may want to verify developers before you download apps to your system.
  1. First to make sure that you are downloading an official app. This is especially important if you need to sign in to a service before you can make use of it. If you do not like the idea of submitting your sign in information through a third party app, then you better make sure you download the real one or connect to the service in your browser.
  2. Second to avoid installing apps that are either technical inferior, or rip-offs.

Closing Words

The third party apps used in this article are just examples of what you find in Windows Store currently. There are legit third party apps in store that you can download and use without any issues, but there are also those apps that I would not touch even if someone paid me money to do so.
The best protection against questionable apps is to not install them at all. Even if you are running Windows RT, you have options, like connecting to the websites of said services instead of using apps.

Why you can’t play 1080p or 480p YouTube HTML5 videos in Firefox anymore

Why you can’t play 1080p or 480p YouTube HTML5 videos in Firefox anymore

The popular video hosting and streaming website YouTube uses two technologies to stream videos to its users. Either by making use of Adobe Flash, or HTML5 Video, with the latter option marked as experimental for some time now.
Provided that you have a HTML5 capable browser, you can join the HTML5 trial on YouTube to use this technology on the site. The core benefit here is that you do not have to install or use Adobe Flash Player at all.
To do so, load this page on YouTube http://www.youtube.com/html5 and click on the join button on it.
If you have not visited that page for a while, you may notice that Google has added three new bits of information to it. The page not only informs you if your browser supports HTML5 Video, H.264 and WebM VP8, but also if it supports Media Source Extensions.
If you open that page in Firefox, Safari or older browser versions, then you will notice that the browser's don't support it.
web browser media source extensions
Media Source Extensions YouTube

Media Source Extensions explained

The feature, in layman terms, allows web applications such as YouTube or Netflix to generate media streams for playback in JavaScript. This makes way for new features such as adaptive streaming (for instance MPEG-DASH) or live streams, or to transfer encrypted contents to the user, decode it using JavaScript, to play it in the browser afterwards.
A highly technical draft document is available here that provides you with additional information about Media Source Extensions.

YouTube

html5 1080p firefox youtube
Firefox HTML5 player YouTube
If you are using the HTML5 video player on YouTube in Firefox, you may have noticed that you do not get to select 1080p or 480p as the video resolution no matter what you do.
flash player 1080p
YouTube Flash Player
You may have also noticed that you do get to select 1080p if you leave the HMTL5 beta and return to Adobe Flash Player.
Google recently switched to adaptive streaming on YouTube for 480p and 1080p videos by using Media Source Extensions. Since Firefox does not support that feature yet, the option to switch to streams that make use of it becomes unavailable in the browser.
That's why you cannot select 1080p or 480p anymore if you are using Firefox and have joined the HMTL5 video trial.
The only way around this for now is to use Adobe Flash to play videos on YouTube.
Mozilla
Mozilla is working on an implementation of Media Source Extensions, but  it is not clear yet when it will become available. You can follow these two bugs on Bugzilla to monitor the progress made in this regard.

Wednesday, 23 October 2013

Upgraded your system to Windows 8.1? Time to free up some disk space

Upgraded your system to Windows 8.1? Time to free up some disk space

Whenever you update your Windows operating system, be it by installing security or other patches, or by upgrading to a new service pack or even operating system version, a copy of the previous version of files is stored on the system so that it is possible to rollback the update.
An indicator that this is indeed the case is the Windows.old folder that you may have sitting on your computer's primary hard drive. It contains files and folders that were part of the previous version of Windows installed on the PC.
That's great if you run into troubles on the updated system, but it also means that storage space is being used by those rollback files that could be used otherwise.
After a while, those files become dead weight as you won't need them to roll back to a previous version of the operating system anymore.

Free up Disk Space after Windows 8.1 upgrade

If you have upgraded your operating system to Windows 8.1 recently from Windows 8, or maybe even from Windows 7 to 8 and then 8.1, then you may have Gigabytes of old versions stored on your operating system that you may not need anymore.
Tip: I suggest you work with the new system at least for one or two days to make sure that everything is working as intended. This includes connecting external hardware to the system and running all important applications that you rely on.
The Windows Disk Cleanup tool has been designed to remove temporary or old files from Windows that are no longer needed. This includes files from previous operating system installations as well as updates, and files that are no longer needed because they have been replaced with a newer version.
disk cleanup
Windows 8.1 users who upgraded their system from Windows 8 or Windows 7 may discover that they can remove Gigabytes of space from the system when they run the cleanup tool. The easiest way to run the tool is the following:
  • Tap on the Windows-key if you are not on the start screen.
  • Type Disk Cleanup and select "Free up disk space by deleting unnecessary files".
  • Click on the button "clean up system files". The application restarts and additional cleanup options are available.
  • Look for the entry "Previous Windows installation(s)" and "Windows Update Cleanup" and check how much disk space you can recover if you clean these.
  • Select all areas of the operating system that you want to clean and click on ok afterwards.
  • Note: if you select those options, you will no longer be able to restore the previous version of Windows or a previous update.
Tip: I'd recommend that you run the tool a couple of days after installing updates (to make sure everything is running ok) to free up disk space, especially if storage space is scarce on your primary drive

Restrict local IMAP email copies in Thunderbird to save disk space and speed up search

Restrict local IMAP email copies in Thunderbird to save disk space and speed up search

If you have a lot of emails stored in the Thunderbird email client, you may have noticed two things: that the emails are taking quite the chunk of disk space, and that the performance of search may have deteriorated.
This can be an issue, especially if you use search often or are running low on disk space. While some of you may need access to an email archive that dates back five or even ten years, others may not need access to emails that old, at least not locally.
One suggestion for this particular situation is to archive emails in the excellent Mailstore Home email backup application. Once archived, you deleted the old emails in Thunderbird but can still access them in the Mailstore program whenever the need arises.
If you do not want to use Mailstore, or prefer a native solution, then you can make changes to how Thunderbird synchronizes and stores emails for IMAP accounts.

Restrict local copies in Thunderbird

Thunderbird will sync all email messages by default, regardless of age. A local copy is kept for search, so that you can search a single account or use the global search feature to find text not only in email headers but also in the body.
The email client offers two options to deal with emails that you do not longer need direct access to:
  1. Synchronize by age only
  2. Delete old email messages
thunderbird local copies
To make the modifications do the following:
  1. Select Tools > Account Settings or right-click on the inbox of the account that you want to configure and select Settings.
  2. Switch to the Synchronization & Storage menu listed under the account.
The default setting under Disk Space is to synchronize all messages locally regardless of age. If you want to restrict that, select "Synchronize the most recent" and select a a time frame in days, weeks, months or years that you are comfortable with (e.g 1 year).
Note: This won't affect the state of messages that have already been downloaded to your email program immediately. It may take a while before the body of those messages does not show up anymore in the client. The emails are still listed, but when you click on them, they are downloaded from the server.
The second option that you have is to configure Thunderbird to automatically delete messages. You can either select to keep only a certain number of emails at all times, e.g. 2000, or delete messages that are older than a certain age automatically. If you are using starred messages, you can select to keep those regardless of the modifications you make here.
Tip: You can configure the search -- under Edit > Find > Search Messages to run the search on the server. This can be useful if you have restricted local email copies but need to search emails that you have received before that period of time.
run search on server

Closing Words

This tip is mostly for situations where you computer is running out of disk space or when you have noticed that sear

HDD Expert checks your hard drive’s health and performance

HDD Expert checks your hard drive’s health and performance

The hard drive is one of the essential parts of most computer systems. What makes it special is that it contains data, so that a hard drive failure or errors can have consequences that are more serious than failures of other PC components.
While those may hurt too, considering that you may buy a new piece of equipment, a hard drive failure may lead to data loss if there are no backups or only partial backups.
Hard drive health monitoring software usually checks SMART data of hard drives that offer many different information including the minimum and maximum temperature, read errors, performance information, and for how many power cycles it has been in use.
HDD Expert is a free software for the Microsoft Windows operating system that comes as a setup and portable version.

HDD Expert Review

If you have downloaded the portable version, you can start it right from the directory it was extracted to. The program displays all hard drives connected to the PC at the time of start under General.
hdd expert
Here you can switch between the hard drives to look at their values. Next to that are important information such as the current temperature reading of the hard drive -- usually 0 for Solid State Drives -- and the number of power cycles and operating hours.
The message pane on the right highlights whether the drive's health status and temperature is ok or not, and also offers suggestions on how to improve the situation. It suggests to create a backup for example, and if temperature reaches critical levels, to consider adding fans to the hard drive.
Side note: The Fans and Spare buttons link to the Amazon website where hard drive fans or spare hard drives can be purchased. The Backup button to the website of the developer where a download software can be downloaded.
The SMART data is displayed under Errors / Damage. The title of the pane is not that appropriate, considering that the data does not necessarily display any errors or damages if the hard drive's health is good.
You can check the error rates here in detail, or simply trust the program's interpretation under Message.
The only other option that HDDExpert provides you with is to enable the automatic refresh feature so that data is refreshed automatically in intervals.

Verdict

The portable program is great for a quick check-up of your hard drives, but lacks notification features so that you need to use it actively when you want to check the health or performance of the connected drives.