我的源代码:
@bot.command()
async def logall(ctx, meesage):
await ctx.message.delete()
with open('logs.json', 'r') as file:
user_list = json.load(file)
members = await guild.fetch_members(limit=150).flatten()
for member in members:
user_list.append(member.id)
with open(
我有两个& Centos在Window 7下(作为主机)在Vmware工作站中。我在Redhat(10.0.0.1)中配置DNS服务器和DHCP服务器。
客户端( Centos )能够从DHCP服务器获得IP(10.0.0.30),但它没有从DNS服务器获取名称。
Problem is At server 10.0.0.1 i am able to ping itself by hostname like
root@server->ping server.example.com Ping successfull
But Client is not able to
我可以在服务器上ping pong Redis:
# redis-cli ping
PONG
但在远程,我遇到了问题:
$ src/redis-cli -h REMOTE.IP ping
Could not connect to Redis at REMOTE.IP:6379: Connection refused
在config中,我得到了标准端口:
# Accept connections on the specified port, default is 6379.
# If port 0 is specified Redis will not listen on a TCP socke
我正在运行一个非域(工作组)角色的Windows2008r2服务器。它是用于局域网的DNS服务器和DHCP服务器。
DNS服务对于外部Internet地址很好,但是本地主机名不解析。
c:\>ping raspberrypi1.local
Ping request could not find host raspberrypi1.local. Please check the name and try again.
c:\batch>ping raspberrypi1
Ping request could not find host raspberrypi1. Please ch