1
I 소스 컴파일 내가 점심 예제 중 하나 때 우분투 을 실행하는 EC2의 마이크로 인스턴스 최신 중량 :액세스 중량
1:23:15.~/progs/wt-3.2.3-rc1/examples/widgetgallery
>../../build/examples/widgetgallery/widgetgallery.wt --docroot . --http-address localhost --http-port 8080
[2012-Oct-25 01:23:16.898953] 969 - [info] "config: reading Wt config file: /etc/wt/wt_config.xml (location = '../../build/examples/widgetgallery/widgetgallery.wt')"
[2012-Oct-25 01:23:16.901653] 969 - [info] "WServer/wthttp: initializing built-in wthttpd"
[2012-Oct-25 01:23:16.902948] 969 - [info] "wthttp: started server: http://localhost:8080"
내가 때를 액세스 할 수 없습니다 나는 http://54.243.50.12:8080/
또는 http://54.243.50.12/
을 크롬의 주소 표시 줄에 넣었습니다. 그것은 로딩을 유지하고 절대로 발견하지 못합니다.
탄성 IP 연상. 퍼티로 54.243.50.12에 연결할 수 있습니다. 나는 중량을 시작할 때 탄성 IP를 지정하려고하면
의 중량 서버가 시작되지 않습니다
1:31:45.~/progs/wt-3.2.3-rc1/examples/widgetgallery
>../../build/examples/widgetgallery/widgetgallery.wt --docroot . --http-address 54.243.50.12 --http-port 8080
[2012-Oct-25 01:31:53.696951] 1056 - [info] "config: reading Wt config file: /etc/wt/wt_config.xml (location = '../../build/examples/widgetgallery/widgetgallery.wt')"
[2012-Oct-25 01:31:53.699035] 1056 - [info] "WServer/wthttp: initializing built-in wthttpd"
[2012-Oct-25 01:31:53.699968] 1056 - [error] "wthttp: Error occurred when binding to 54.243.50.12:8080
bind: Cannot assign requested address"
[2012-Oct-25 01:31:53.700614] 1056 - [info] "WServer/wthttp: fatal: Error (asio): bind: Cannot assign requested address"
1:31:53.~/progs/wt-3.2.3-rc1/examples/widgetgallery
>
를 탄성 IP없이, 같은 이야기였다.
8080 포트가 열려 : 내가 한
>netstat -an | grep "LISTEN "
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
모두는 http://redmine.webtoolkit.eu/boards/2/topics/4484#message-4516에 있지만 그것은 도움이되지 않았다.
이 질문은 serverfault가 너무 좁아서 닫혔습니다. django http://serverfault.com/questions/430848/amazon-ec2-notable-to-open-web-application-even-if-port-itopen에 대한 비슷한 질문이 있습니다. wt는 다음과 같습니다. 장고. 그것은 MS 윈도우보다 더 좁기 때문에 gentoo 질문을 닫는 것과 같습니다. 거기에 의견을 남길 수있는 방법이 없었습니다. 그러나 나는 그것을 지적하고 싶었습니다. –