I am new to stateless Trex and I encounter a simple problem but cannot solve it.
Thanks in advance for your help.
trex@client-trex:~/trex-v2.32$ uname -a
Linux client-trex 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux
trex@client-trex:~/trex-v2.32$ ./trex-console -v
Using 'python' as Python interpeter
Connecting to RPC server on localhost:4501
[verbose] Sending Request To Server:
{
"id": "dq8yshve",
"jsonrpc": "2.0",
"method": "api_sync_v2",
"params": {
"major": 4,
"minor": 1,
"name": "STL"
}
}
[FAILED]
Log:
*** [RPC] - Failed to get server response from tcp://localhost:4501
but I have run ./t-rex-64 -i and I can see the ports open.
trex@client-trex:~/trex-v2.32$ ss -uta
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
udp UNCONN 0 0 *:sunrpc *:*
udp UNCONN 0 0 *:725 *:*
udp UNCONN 0 0 *:52639 *:*
udp UNCONN 0 0 :::sunrpc :::*
udp UNCONN 0 0 :::725 :::*
udp UNCONN 0 0 :::35789 :::*
tcp LISTEN 0 100 *:4500 *:*
tcp LISTEN 0 100 *:4501 *:*
tcp LISTEN 0 128 *:ssh *:*
tcp LISTEN 0 128 *:58425 *:*
tcp LISTEN 0 100 *:4507 *:*
tcp LISTEN 0 128 *:sunrpc *:*
tcp LISTEN 0 128 :::ssh :::*
tcp LISTEN 0 128 :::37741 :::*
tcp LISTEN 0 128 :::sunrpc :::*
tcp LISTEN 0 128 :::http :::*