[how can I pull from hg serve?]

Uwe Brauer oub at mat.ucm.es
Mon Feb 27 11:09:05 UTC 2023


>>> "FK" == František Kučera <konference at frantovo.cz> writes:

> Dne 26. 02. 23 v 11:13 Uwe Brauer napsal(a):
>>> 2. How can I change the setting to have the my IP number instead the
>>> name of my machine?
>> That one is still mysterious to me.

> When I run hg serve, it prints:

>     listening at http://my-hostname:8000/ (bound to *:8000)

> and it really listens on any IP address:

>     $ ss -tlpn | grep hg
>     LISTEN 0      5            0.0.0.0:8000       0.0.0.0:* users:(("hg",pid=9562,fd=3))

> So if you have the public IP address assigned to the computer that
> runs hg serve, you can clone/pull from that address regardless hg
> serve told you "listening at http://my-hostname:8000/".


Ok, when I am in the university that is not a problem, the laptop gets a static IP, however at home I obtain a dynamic one, not sure whether that might cause problems.

Thanks 
-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20230227/96637b87/attachment.p7s>


More information about the Mercurial mailing list