Support #4712
closedtelnet localhost 4258 response : unable to connect to remote host: Connection refused
0%
Description
Hello,
I try to build osmo-hlr from source
cd $osmo_src
git clone git://git.osmocom.org/osmo-hlr
cd osmo-hlr
autoreconf -fi
./configure
make -j5
make check
make install
sudo ldconfig
I have following results for my commands:
which osmo-hlr
Result: /usr/local/bin/osmo-hlr
osmo-hlr --version
Result: OsmoHLR version 1.2.0.55-b77d
I started osmo-hlr
systemctl start osmo-hlr
If I want to connect on the hlr by telnet but the connexion refused
I have error message.
root@testbed:~# telnet localhost 4258
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
root@testbed:~#
Do I have to be in a folder to run the telnet command? Can I get help pleae?
Thanks.
Updated by fixeria over 3 years ago
- Tracker changed from Bug to Support
- Status changed from New to Feedback
- Priority changed from Urgent to Normal
Do I have to be in a folder to run the telnet command?
No.
telnet: Unable to connect to remote host: Connection refused
You need to make sure that it's actually running and not terminated immediately due to an error.
Please provide output of the following commands:
$ systemctl status osmo-hlr $ journalctl -r -u osmo-hlr
Updated by edgard21031969 over 3 years ago
Hello,
I started telnet after start osmo-hlr by using following comands:
In a console
osmo-hlr -c /usr/local/etc/osmocom/osmo-hlr.cfg
And in other console
telnet localhost 4258