Chrome Extention send data to other app

Hi is first time i see plugin for chrome and extention in general , sorry i am not expert , i want when i select a tab of chrome send title of window at my program , i try in this mode
but unfortunately not work
my background.js

chrome.tabs.onUpdated.addListener(function (tabId, changeInfo, tab) {
if (changeInfo != undefined) {
var http = new XMLHttpRequest(); 
  http.open("POST",
  "127.0.0.1:4444", 
   true);
  sendme = changeInfo.url
   http.send(sendme);
}
alert(sendme);
}); 

thanks at all
P.S. if exist just somthing of this please suggest me :smiley: thanks