0
基本問題。我在我的EC2實例上安裝了memcached。在EC2實例上設置memcached以監聽外部IP
它的,比方說,101.45.23.18彈性IP地址,並使用ifconfig顯示
eth0 Link encap:Ethernet HWaddr 12:31:3b:0e:3a:8f
inet addr:10.241.13.121 Bcast:10.241.13.255 Mask:255.255.255.0
inet6 addr: fe80::1031:3bff:fe0e:3a8f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2654 errors:0 dropped:0 overruns:0 frame:0
TX packets:1717 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1806365 (1.8 MB) TX bytes:206184 (206.1 KB)
Interrupt:26
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
如何啓動memcached的偵聽的外部IP地址,而不是內部的一個?