Project

General

Profile

Actions

Support #4712

closed

telnet localhost 4258 response : unable to connect to remote host: Connection refused

Added by edgard21031969 over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
08/13/2020
Due date:
% Done:

0%

Spec Reference:

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.

Actions #1

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
Actions #2

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

Actions #3

Updated by fixeria over 3 years ago

Is it still a problem? If not, please close this ticket.

Actions #4

Updated by fixeria over 3 years ago

  • Assignee set to edgard21031969
Actions #5

Updated by edgard21031969 over 3 years ago

The ticket can be close

Actions #6

Updated by fixeria over 3 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)