Technology

PID 4 is using PORT 80 on Windows 7 !! Help

So i have been using apache to run a local server on my home computer (Well xampp exactly) , from the past few days i have been having trouble starting apache on port 80. I was wondering what could possibly be the reason for that , MySql was running fine on port 3306 but apache’s port 80 was being used by some process . So i did a netstat –ano command at the command prompt to see its output , and to my surprise PID 4 was using the port 80. To find out which Process has the ID 4 (Process ID 4) i launched the Task Manager (Ctrl + Shift + Esc) , went to Processes Tab and checked Show processes from all users

taskmanagerWell this is a screenshot after i got it working so you’ll see my httpd daemon is already running. I posted it just to make sure you guys are following me 

Now after some research i found some solutions , so i am going to list them all here. But none of them worked for me , (well they might for you)

Here is one solution from the site cameroncooke.com

1) Launch RegEdit:

2) Go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP

3) Add a new DWORD (32-bit) value

4) Name it ‘NoRun’ not including the quotes

5) Double click the new property

6) In the Value data field type ‘1? not including quotes and click OK

7) Re-boot your computer

Regedit

But obviously it didn’t work for me.

Second solution from the comments on the same post

Go to Services (search for “services” on windows start menu ) and then disable Windows Remote Management

Third solution that worked for me was to disable the Running IIS server on my computer. It is disabled by default and i have turned it on some days back for some reasons . Turning that off solved my problem. Go to Windows Start menu and search for “turn windows features on or off

Then start the program and uncheck the Internet Information Services

windows-features

Then just reboot your computer and try to start the apache (it will start ofcourse).

I hope it helps a few fellow web developers. if you are still facing trouble please ask in the comments section

 

Update : Sometimes SKYPE also occupies port 80. So make sure to run your apache server before you start skype

How to unlock Everything in Windows 7

So how can you unlock basically everything that is in the windows control panel. The windows 7 “Everything” folder gives you the ability to have every setting at one place , be it the Action Center , Administrative Tools , Bitlocker etc. Basically it is just a folder with expanded Control Panel. Please see the screenshot below to see it in more detail

Everything inside Windows 7

 

To get this folder all you have to do is the following

  1. Create a new folder anywhere on your hard drive
  2. Rename this folder Everything.{ED7BA470-8E54-465E-825C-99712043E01C}

That is it. When you open the folder you’ll see everything which inside. Please leave your comments below.

Google Easter Egg

Google has a new easter egg. This time right on the homepage.

To see the easter egg simply click on I’m Feeling Lucky button with nothing in the search field and voila!!

Google Easter Egg , Countdown to end of the year 2009

Google Easter Egg , Countdown to end of the year 2009

Ubuntu 9.10 WUBI installation problem , GRUB screen after updating

Okay so I wanted to try Ubuntu 9.10 on my computer partially because it is so damn old to run windows 7 and partially because I wanted to give it a try. Only problem I didn’t have a Boot CD and my old computer won’t boot from a USB. So I tried WUBI and installed Ubuntu within windows. I was all set to try Ubuntu now. Ubuntu was running quite good , I had even shifted my development environment from Windows XP to Ubuntu 9.10. After running for a few days Ubuntu’s update manager notified me there are some updates, so i clicked Update and the update started. After the update it asked to Restart Computer and so i did.

After the restart when i tried to boot into Ubuntu , the GRUB screen came and i was like what do i do now ? I am a techie but i am not that into Linux so i was clueless there.

So i had to boot into Windows again , fire up Firefox and hunt the web for a solution as now i had everything in my Linux Environment.

Finally i found a solution  and compiled everything at one place.

Please follow the following steps if you too got stuck at the GRUB screen in a WUBI installation after doing a Linux Kernel Update / Update to Ubuntu

  1. sh:grub>set root=(loop0)
  2. sh:grub>linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro
  3. sh:grub>initrd /boot/initrd.img-2.6.31-14-generic
  4. sh:grub>boot

please note /ubuntu/disks/root.disk is the location of your WUBI installation (default being C:\ubuntu)

this will enable you to boot into Ubuntu Back

After booting  into Ubuntu follow these steps to not to see that GRUB screen again during starting up.

  1. Open Terminal (Applications->Accessories->Terminal)
  2. Type sudo update-grub2 and click Enter, enter your administrator password and voila your GRUB list is made again. and you’ll not the GRUB screen again

I hope that helps. if you have any doubt please say in comments.

YouTube Mass Downloader

If you ever wished to download a playlist from youtube even with some really useful firefox extension like Video Download Helper it is a pain in the ass. You have to manually visit each video in the playlist and then download it. Now i came across a freeware today that makes downloading youtube playlists (and videos of course) simple. All you need to do is give it the playlist URL and voila it starts downloading all the videos. The application is called YouTube Video Downloader .

Click the following screenshot to enlarge.

You Tube Downlaoder

And best of all, this application is distributed thru torrents.   mininova.org

It is produced by people from quack-ware.com and is currently in version 1.7.2

The program is compatible with all the windows version including Windows 7. It needs .net framework though

Developer’s Comments

New in 1.7.2
- Changed various GUI Elements to make the downloading process smoother.
- Fixed non-working downloads. Users now have a choice of a maximum of 4 different file types.
- Rewrote almost all the download code, program is about half as small now.
Online version available here!
Direct Download Available Here
FEATURES:
- Download YouTube videos in either regular quality .flv format or high
quality .mp4 format. All you need is the YouTube link!
- Extract the .mp3 directly out of the .flv files from the videos you downloaded!
- Generate a download link for any video
- Automatic file naming based on the video name
- Drag and drop urls directly into the text boxes.
- Multiple downloads at once and notification of when your download is finished.
- Progress Bar to see your download progress.
-Download videos from www.metacafe.com!
Any problems, suggestions, questions, or comments please contact me at QuackWare@gmail.com
I wrote this myself and I will continue to make easy and useful programs like this for free distribution so look forward to more :) . If you would like to be notified of what I am doing or donate to keep good programs like this coming click "Get Extras" in the Help Menu in the program.
Note: If you are getting an application error while trying to run this or any of my programs you need to download .Net framework. The download is available for free here:
.Net Framework

Notes:

  • Give it the playlist URL such that nothing is following the string of letters eg. http://www.youtube.com/view_play_list?p=586D322B5E2764CF 
  • The program will hang after you click the download button. do not worry its normal. it’ll respond in a couple of minutes
  • This program downloads videos one by one i.e no multithreading. but it is still a very useful program

Download Link – YouTube Video Downloader 1.7.2

Google vs Microsoft

So Google and Microsoft are fighting with each other all the time now. With the upcoming launch of Google’s Chrome OS next week its like Google Dropped a nuclear bomb on Microsoft.

Not only that Google has also declared Microsoft to be the Devil . Don’t believe me… see for yourselves

 

Google Suggest - Microsoft is Devil

 

But its just one side of the story. Microsoft seems to hate Google in the same way as well. Yeah people Bing (Microsoft’s search engine) preaches Google is Evil too.

Microsoft says the same too

 

Hey Wait… how can we forget Yahoo. Let us see what they say to all this.

Yahoo Suggest - Says Google is the bestUnbelievable !! Yahoo has only one thing to say –> Google You Rule

Well i think we finally have the answer. You know what i think Google and Yahoo are planning something. Google also says the same for Yahoo. i don’t know about you guys but i smell a rat

Google Suggest - Yahoo is the best

Android Developer Phone 2 / GOOGLE ION

Google gave away the new Android Developer Phone (The HTC Magic ) at the Google  I/O Developer Conference at San Francisco . They are now also offering the same phone at the Android Marketplace in the developer section (you need to pay $25 to become a developer) .

phone2dev1

Some of the features in this “unlocked” version of the phone are as follows in the following pictures.Android Dev Phone Specs

Android Dev Phone_1258196302363Now all the features are almost similar to the original HTC Magic except that the Phone has a lesser RAM . The  screenshot taken from HTC product page says the HTC magic has 288 MB RAM but Google ION has 192 MB RAM

HTC - Products - HTC Magic - Specification 

Also some say there is a difference in UMTS frequency of both the phones. but it hardly matters to me.

But the most interesting features in Google ION / HTC Magic which makes it a must have phone

  • Root Access to the Phone –> go ahead install the Cyanogen MOD and get the features you always wanted in your HTC Magic
  • The capacitive touch screen
  • No keyboard so it is sleek as compared to ADP 1 / HTC Dream / T-Mobile G1
  • Better Battery Life than G1

Pricing : Google ION is available for $399 from Android Developer Center. Shipping is free for USA only. For other countries you need to pay shipping and tax as well. For example Total Cost of Shipping and Handling (including taxes) to India is $107 .So you need to pay $506 to buy the phone. On the other hand the HTC Magic(unlocked) is also available for Rs. 23000 ($500) from ebay india.

Final Notes : It is a decent phone and if you want an android phone that is not much costly this phone is what you are looking for

Please have your say in the comments.

Collection of funniest Digg Captcha

So what happens when you submit a story to digg. well it asks you a bunch of questions and makes you fill a captcha to check if you are human… but are they really checking or they are sending you a hidden message… see the captcha images below and determine yourselves

 

Digg Captcha - Fucked
Digg Captcha - You are Gay
Digg Captcha - Puked
Digg Captcha - I am Fat
Digg Captcha - WTF FU

Do you have any more funny digg captcha to share. please post the link to image in comments or send me the image at anujtenani##gmail.com  (replace ## with a @)

iPhone vs Droid

SO i was in a dilemma a few day back which phone would be a better buy iPhone or Motorola Droid. Both have there own set of good and bad features. Droid has a better screen , has keyboard and runs Android , iPhone has a bigger App Store etc.

Now this comic from xkcd.com helped me make my decision

iPhone vs Motorola Droid. Which one it is going to be

iPhone vs Motorola Droid. Which one it is going to be

Adobe Pwns Apple

Apple deserves it. That's right iphone users you ain't getting adobe flash soon !!

Apple deserves it. That's right iphone users you ain't getting adobe flash soon !!

Okay so this is what adobe says to you when you try to visit http://get.adobe.com/flashplayer/ on your iPhone to download flash player

At this matter i would say “What the hell is your problem Steve Jobs