unikraft / app-redis

Redis on Unikraft
5 stars 12 forks source link

Unable to connect to redis server on unikernel #5

Open vishnutejak538 opened 2 years ago

vishnutejak538 commented 2 years ago

I followed the steps and a redis server started running on the unikernel with IP 192.168.122.15 and now I want to connect to the server. I succeeded in connecting to the server but no other commands were being executed as there is protected mode on. But I dug deep into the libredis folder, modified the redis.conf but the error repeated. I used the kraft run and tried to pass a conf file with it, that returning another error. Thanks in advance. Here are the two cases I discussed above: image

And when I pass the conf file with kraft command: command: kraft run -b virbr0 "netdev.ipv4_addr=192.168.122.15 netdev.ipv4_gw_addr=192.168.122.1 netdev.ipv4_subnet_mask=255.255.255.0 -- ./redis.conf"

image