我在spark-env.sh里面设置spark_master_ip为内网IP时ok,设置为公网ip就报错了。Service 'sparkMaster' could not bind on port 7077. Attempting port 7078.这是啥云因?因为ifconfig里看不到外网的ip么?求解答!
我已经使用我的IPv4地址创建了一个主机/客户端应用程序,但现在我想使用创建相同的应用程序,除非我希望它能够与不同网络上的客户端连接。我认为我应该将服务器绑定到我的公共IP地址,但这给了我这个错误:[WinError 10049] The requested address is not valid in its context,我应该使用哪个IP来绑定我的服务器和连接远程客户端?
# host = public ip address. Took out just for safety concerns but on my
# machine the actually ip is there
我需要为我的两个站点分配一个单独的ip地址,因此我手动配置Amazon Web服务,使一个实例拥有两个公共ip。我设置了两个弹性up,它们指向两个私有up,它们都在一个网络接口下。
需要对OS (Debian 7)进行哪些手动更改才能使辅助弹性(公有) ip正常工作?
这就是/etc/network/interface现在的样子:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
附注:似乎没有针对debian的ec2-net-utils包,所以我手动进行了操作,从而也了解了网络是如何工作的。
我已经创建了一个CloudSQL实例,它是我创建的私有网络的一部分。我可以使用CloudSQL代理服务连接到此CloudSQL。虽然我在该私有网络中添加了防火墙规则,但无法使用该实例的公网IP连接到该实例。
我得到的错误是:
Unable to connect to host <public-ip-of-cloudsql>, or the request timed out.
Be sure that the address is correct and that you have the necessary privileges, or try increasing the c