http://gup-win32.tuxfamily.org/

 

GUP(Generic Updater) 를 사용해보자. GUP은 cURL library과 TinyXml를 사용하는데 한마디로 웹에 업로드 되어 있는 xml을 이용해 버전을 비교한다. 사용하기도 간단하다.

 

 

다음은 notepad++ 의 GUP 사용 예 이다. (엄청 간단하다는 것을 알 수 있다.)

 

Client

<?xml version="1.0"?>

<GUPInput>

<Version>4.8.2</Version>

<InfoUrl>http://notepad-plus-plus.org/update/getDownloadUrl.php</InfoUrl>

<ClassName2Close>Notepad++</ClassName2Close>

<MessageBoxTitle extraCmd="1034" ecWparam="" ecLparam="">Notepad++ update</MessageBoxTitle>

<SilentMode>yes</SilentMode>

</GUPInput>

 

 

Server

<?xml version="1.0"?>

<GUP>

<NeedToBeUpdated>yes</NeedToBeUpdated>

<Version>6.2.2</Version>

<Location>http://download.tuxfamily.org/notepadplus/6.2.2/npp.6.2.2.Installer.exe</Location>

</GUP>

 

   

Windows용 IIS에서는 명시적으로 특정 IP만을 사용하도록 설정하더라도 서버에 추가된 다른 IP의 80, 443포트를 사용하지 못하도록 제한다고 있다. 이는 소켓 풀링 하고 관련되어 있다.

http://forums.theplanet.com/index.php?showtopic=34369

http://support.microsoft.com/kb/238131/ko

 

해제 방법

>> net stop http /y

>> httpcfg.exe query iplisten

>> httpcfg set iplisten -i 10.0.0.1:80 # 리슨하기 원하는 아이피:포트를 추가 해준다.

>> httpcfg.exe query iplisten # 제대로 들어갔는지 확인

>> net start w3svc

 

httpcfg 명령을 찾을 수 없다고 나오면 Windows CD를 넣고 필요한 툴인 support/tools/suptools.msi 설치 할 것. 윈도우 시디 없을 경우 아래 링크 활용한다.

http://www.microsoft.com/downloads/details.aspx?FamilyID=96a35011-fd83-419d-939b-9a772ea2df90&displaylang=en

   

이 후 재 부팅.

삭제 방법

>> httpcfg delete iplisten -i ip:port

+ Recent posts