Posts Tagged ‘connection’

Checking the sites your computer is connecting to in Windows

Have you noticed a sudden drop of your Internet speed? A possible explaination is that some nasty program is doing things behind your back. Whether it is spyware, malware or adware you might have a serious case of unauthorized traffic on your hands.

But don’t worry, it’s quite easy to get a list of your connections in Windows. Such a list may turn quite helpful and may help you find some unknown applications are using your bandwidth for their dirty bidding.

Naturally this list will be generated through the Command Prompt. First, open the Command Prompt under Administrator Mode. To do that, open the Start menu, type cmd in the search box:

Right-click on cmd.exe and select Run as administrator:

The command prompt will open:

Enter the following command:

netstat -fab 5 > connections.txt

Now, before we press Enter, let’s take a moment to look what exactly are we doing here. First of all netstat is a command that generates a lot of useful information about your network status. Additionally there are several options we can add to our netstat command, some of which are:

 -f – for displaying the full DNS name for hosts on the other side of each connection. This makes the generated data a lot easier to comprehend.

-a – to put it simply this stands for “all”. As in “all connections and listening ports”.

 -b – to output the name of the application making the connection.

Alternatively to -f you can use -n to display only IP addresses.

Naturally, “5” stands for how often do we want this information to be gathered. Finally, “> connections.txt” means that we want to output this information to connections.txt (so called piping).

So now that we now what we are doing, we can freely hit Enter.

Wait for a couple of minutes and press Ctrl + C to stop netstat. Now you can open connections.txt (which in our case is located in C:\Windows\System32  because we ran netstat from there) and see the activity of every application for the moment you started netstat, until you turned it off.

Note: This information may not be complete as we set netstat to update once in five seconds.

Note: This trick works on Windows 7 and Windows Vista. If you are still using Windows XP you need at least SP2.

 

VN:F [1.9.18_1163]
Rating: 5.5/10 (2 votes cast)

Assign a static IP address in Windows 7

When it comes to home networks it is often harder to use DHCP than to give each PC its own IP address. In contrast DHCP (Dynamic Host Configuration Protocol) uses a different model – each computer requests an IP each time it is started.

For small networks using static IPs makes IP management a lot easier and fixing problems associated with a given machine is done faster because you don’t have to always check what IP it is assigned.

To set a static IP to in Windows 7, you first have to open the Network and Sharing Center. Enter network and sharing in the Start menu searchbox, wait for Network and Sharing Center to appear and select it:
Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (10 votes cast)

How to enable HTTPS (SSL) connection to Twitter

Whenever the topic is Social Networks, questions about security, privacy, etc. arise. Recently, Twitter, similarly to Facebook and most email service providers, enabled HTTPS connection for its users. In this short tutorial we will show you how to enable this feature. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)

Top 10 basic networking command in unix

These are most useful command in my list while working on Linux server , this enables you to quickly troubleshoot connection issues e..g whether other system is connected or not , whether other host is responding or not etc.

This commands are very handy for troubleshooting day by day networking issues, having this networking commands its not just save time but also improves productivity.

I work as a Java , FIX developer for trading application . Since working with FIX involves lots of networking activity I used these commands every day and it saves quite a lot of time while identifying FIX connection issues. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)

Linux C++ Forking Server and Client Socket Example

The goal of this example is to create simple Linux C++ server that accepts socket connections and forks-off to handle the connection. This is the simplest Linux C++ forking server socket and client example you can find. This covers all the steps required to open a C++ clinet/server socket and forking a process. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (10 votes cast)

Error establishing a database connection

Error establishing a database connection in WordPress is one of the worst errors you may get and in my opinion the hardest to troubleshoot as we all know that the developers of WordPress made it really hard for non experienced users to get some useful stuff from the logs. In this tutorial I will try to guide you how to troubleshoot this error and get your wordpress blog up and running once again.

I want to explain that what follows are general instructions how to proceed if you get this error. I will try to generalize the approach to find the root cause of the issue.

The prerequisites are you run the latest available version of WordPress, you use Apache webserver , and you use mysql database. That is pretty much 95% of all WordPress users so we hope to be helpful to majority of the users.

First and most important step is to find out if the username and password are working. All hosting companies offer phpmyadmin to test the connection to the database server. I will not cover instructions of how to do that as all hosting companies offer different control panels. The best advice if you do not know how to test the username and password is to call your hosting provider. The configuration settings about your database login credentials are stored in wp-config.php file. They look like this Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 4.0/10 (1 vote cast)

Organize the priority of network connection is Windows

In nowadays pretty much all computers, even laptops, come by default with multiple network adapters. In this tutorial I will explain and guide you how to manage the order of which the applications installed on your, Windows XP powered, computer to use these network adapters. For the purposes of this tutorial we have used Windows XP computer sith Service Pack 3. These instructions however are valid for Windows2003 Server, WindowsVista and Windows7 also. The main difference is just the approach to get to the fist step. Besides that the options are present in all operating systems offered by Microsoft Corporation.

So the first step as we have mentioned is to get to the Network Connection screen. In Windows XP the quickest way to get there is by right clicking on the desktop icon which says My Network Places and the go to Properties menu option. Another way is from Start -> Settings -> Network Connections.

Once you open the network connections you will see the list of connections configured in your Windows XP. From the top navigation menus you should go to Advanced -> Advanced Settings. You have probably never seen this option there even that it is available from quite some time. Do not worry it was a nice surprise to me too when I have discovered it at first place Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.1/10 (10 votes cast)

Complete PHP CURL, JSON and Google Maps API Example

The aim of this tutorial to show how you can combine, CURL, JSON and the Google Map API to create a widget that displays your browser position (internet connection) on a map. This tutorial can also be used as a Google Maps API tutorial, an intorduction to JSON and a php CURL example. This will teach you how to integrate curl, json and the google maps API. We will make a json call to a php script. The script will then open a cURL connection to a service and get your IP information and respond. The json response will then be decoded and displayed on a google map Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 1.2/10 (12 votes cast)

Share files in Windows XP for the first time

Sharing files is one of the greatest benefits from computer networks. In fact this is the very first purpose why we invented the computer networks at first place. In todays tutorial I will show you how to enable file sharing in Microsoft windows networks for the fist time. I have created the screen shots in Windows XP (I know it is 7 years old operating system but I love it) but they will work for Windows Vista and Windows 7 as well as under Windows 2003.

First and very important requirement is to have File and Printer Sharing for Microsoft Networks on your network connection. It does not matter if it is wireless or not. You just must ensure that the option shown in your network connection properties is checked. By default it should be as shown on the picture below. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (10 votes cast)

Buffalo WHR-G54S Wireless Router – Home and Small Office solution

Buffalo WHR-G54S Wireless Router - Home and Small Office solution

Buffalo WHR-G54S is very popular and unassuming wireless router. He is very suitable for home usage, for his cheap, simple, easy to set and nice design.

Buffalo WHR-G54S supports IEEE 802.3/3u, IEEE 802.11b/g networks standards. He have four 10/100Mbps LAN ports and one 10/100Mbps WAN port. Security Encryptions supported by the routes are: WPA-PSK(AES, TKIP) and 128/64-bit WEP. One external antenna available with router. Web administration is supported by the router.

In this Article I will show you six tutorials for Entire WEB Administration and Configuration of the router. With this tutorials you can configure your router to use your Internet connection (WAN Side), to distribute internet traffic over your LAN network, to Encrypt your Wireless Connection between the router and the clients, to administrate the network and to diagnose the router status.

Buffalo WHR-G54S Admin Config
May be this section have to be the first which you start to set. From here you can set Administrator password, Date and Time, Save and Restore Settings, Reset and Initialize the Router, change the Firmware, etc.

Buffalo WHR-G54S Diagnostic.
From Diagnostic section can get all current information of your router and network, like Connection and Clients status, perform some test like ping from router, etc.

Buffalo WHR-G54S Wireless Security Config
Wireless Security is mandatory feature for each Wireless Network. Here you can set Wireless Settings, Encryption method, Encryption key, MAC Filter, etc.

Buffalo WHR-G54S LAN Config
This is section where you can configure your LAN (internal) network. DHCP Server, IP Address distribution, etc.

Buffalo WHR-G54S Network Setup
Every administrator have to set correct options for his network. Everything like NAT (Port Forwarding), IP Filter, Intrusion Detector, etc. is here.

Buffalo WHR-G54S WAN Settings
WAN Settings is this settings for the router, which reflects on Internet connection to your Internet Service Provider. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)