Carlos E. R. wrote:
On 2023-04-03 20:43, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-04-03 20:27, Bengt Gördén wrote:
On 2023-04-03 19:50, Carlos E. R. wrote:
I just did not know how to put the port in the URL and did not find it in the long manual.
It's probably closer than you think :)
man url ip_server = [user [ : password ] @ ] host [ : port] http://ip_server/path
I had no idea of that page at all, but it doesn't help.
In the http section there is no example I can find of using an url with a port. It is not even above in your example. It should be:
No - take another at the definition of 'ip_server'.
Mmm.
You mean: http://[user [ : password ] @ ] host [ : port]/path
Actually I meant: ip_server = [user [ : password ] @ ] host [ : port]
What a convoluted way to not explain things easily :-/
It's merely a slightly simplified BNF variation. Such grammars are frequently used in RFCs, for instance. https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form I'm surprised you have not come across http urls with a port number before - it's not uncommon to see special non-webservers running on 81 or 8080 etc. For instance, the management server "3dm2" for 3ware raid controllers runs on port 888. -- Per Jessen, Zürich (4.1°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes