techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.9K
active users

Sal Rahman

Am I missing out by using *only* SSH tunnelling—and no other fancy software—to expose an application on my laptop to the Internet, for development purposes?

@manlycoffee why do you need public Internet access for local development?

@schizanon I could almost swear that I need it to test my little toy ActivityPub example.

Like, an instance of an ActivityPub software running on the Internet (that will act like a client) will likely not know how to punch through the NAT to explicitly open up a TCP client connection to my laptop.

Best to do some form of tunelling.

But I might be wrong.

@manlycoffee you can create local aliases in your hosts file if you need the names to be different

@schizanon yes.

But what about some remote client directly reaching into my laptop, from the Internet?

@manlycoffee why are you developing with a remote client from the internet? Can't you test with a local client using local urls?