Skip to content

how to send request to f-stack app from my local #877

@senthilsam

Description

@senthilsam

I have build redis and started the server, now i am not able to send any requests to it from my local terminal


sudo ff_ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet 127.0.0.1 netmask 0xff000000
	inet6 ::1 prefixlen 128
	inet6 fe80::1 prefixlen 64 scopeid 0x1
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
f-stack-0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=3<RXCSUM,TXCSUM>
	ether d8:43:ae:6f:d4:26
	inet 192.168.100.4 netmask 0xffffff00 broadcast 192.168.100.255
	inet6 fe80::da43:aeff:fe6f:d426 prefixlen 64 scopeid 0x2
	nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

redis

TSO is disabled
set port 0 to promiscuous mode ok

Checking link status................done
Port 0 Link Up - speed 100 Mbps - full-duplex
link_elf_lookup_symbol: missing symbol hash table
link_elf_lookup_symbol: missing symbol hash table
Timecounters tick every 10.000 msec
WARNING: Adding ifaddrs to all fibs has been turned off by default. Consider tuning net.add_addr_allfibs if needed
Attempting to load tcp_bbr
tcp_bbr is now available
TCP Hpts created 1 swi interrupt threads and bound 0 to cpus
Timecounter "ff_clock" frequency 100 Hz quality 1
TCP_ratelimit: Is now initialized
kernel_sysctlbyname failed: net.inet.tcp.recvbuf_inc=524288, error:2
f-stack-0: No addr6 config found.
f-stack-0: Ethernet address: d8:43:ae:6f:d4:26
f-stack-0: Successed to register dpdk interface
78119:C 30 Mar 2025 20:59:48.669 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
78119:C 30 Mar 2025 20:59:48.669 # Redis version=6.2.6, bits=64, commit=63196ac7, modified=1, pid=78119, just started
78119:C 30 Mar 2025 20:59:48.669 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
78119:M 30 Mar 2025 20:59:48.669 * monotonic clock: POSIX clock_gettime
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 6.2.6 (63196ac7/1) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                  
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 78119
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           https://redis.io       
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

78119:M 30 Mar 2025 20:59:48.670 # Server initialized
78119:M 30 Mar 2025 20:59:48.670 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
78119:M 30 Mar 2025 20:59:48.670 * Loading RDB produced by version 6.2.6
78119:M 30 Mar 2025 20:59:48.670 * RDB age 18 seconds
78119:M 30 Mar 2025 20:59:48.670 * RDB memory usage when created 1.27 Mb
78119:M 30 Mar 2025 20:59:48.670 # Done loading RDB, keys loaded: 0, keys expired: 0.
78119:M 30 Mar 2025 20:59:48.670 * DB loaded from disk: 0.000 seconds
78119:M 30 Mar 2025 20:59:48.670 * Ready to accept connections

now when i run the cli

redis-cli -h 192.168.100.4 -p 6379

Could not connect to Redis at 192.168.100.4:6379: No route to host
not connected> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions