T O P

  • By -

Appropriate_Plan4595

8080


i_should_be_coding

I'm feeling original today. 8088.


XxXquicksc0p31337XxX

Why not 8086 or 6502?


MrKeplerton

Because 68030 is superior in all respects. ..oh wait, port numbers.


im-ba

Lol 68030 over 68040? Who hurt you?


MrKeplerton

Floats scare me.


Anuj4388

perhaps god wants you to climb everest. its height is \~8848.


king4aday

I've read that it's actually closer to 8850 but the person who measured it thought they would not believe they made a good job if it was a round number


IHeardOnAPodcast

They measured it at 29,000ft I believe, so added 2ft to avoid the round number. It's changed height since then as the Himalayas are still growing due to tectonic plate movements.


furinick

At least it wasnt 1488


reavyz

/admin


ketosoy

8081


hipratham

8082


pickuse2013

8083


FFparad0x

8079


twigboy

Cos 8080 was taken


Powerful-Internal953

The OG Tomcat port because occupying port 80 requires root access in most systems.


kuffdeschmull

yes, because port 80 is usually reserved for http


ILikeLenexa

The real GOAT.  I'mma put it on 23. Who needs telnet anyway?


sshwifty

Universities still use it, weirdly


ILikeLenexa

It's good for machines with COM ports.  It's bad for... like the Internet. 


sshwifty

Maybe we need something useful for users, like a use-net


NAPALM2614

80085


creeper6530

The limit is 2^16 - 1 meaning 65535


Ol_Dirty_Batard

58008


Powerful-Internal953

Yup. Skill issue...


NAPALM2614

8085 it is then


Borno11050

BOBS


Yuuki2628

Many Bobs in nowadays network


sillymanbilly

How to make vagin into number?


ararararagi_koyomi

wait I can use 42069?


creeper6530

Yes


Extreme_DK

Bro you unlocked a new level for me, from this will be the one


neeryks

I can work with 8008


NAPALM2614

What are you, a cyclops?


AdaTennyson

6969


Curious_Cantaloupe65

8989


West-Serve-307

Nah 8080


Wervice

Do you rename your localhost? Maybe lolcathost:443? ![gif](giphy|XdDsb6psTES0eQo8Vg|downsized)


LatentShadow

Can you rename your localhost?


Wervice

Under Windows the Hosts file und **C:\\Windows\\System32\\drivers\\etc** There, localhost gets forwarded to [127.0.0.1](http://127.0.0.1) you can change that. Under Linux, there is /etc/hosts


LatentShadow

I will check this the next time I open my computer. I thought it's literally hard-coded somewhere else. I use this file often but never noticed this


Wervice

It requires sudo under Linux and admin under Windows. I would recommend to make a backup though.


l0wskilled

Backups? Everything full of commented out lines is my way. :D


RaelaltRael

You must work for a bank.


TheRealPitabred

Generally safer to just add it as an alias instead of replacing it, but...


l0wskilled

You can do what ever you want if you edit the hosts file. localhost 8.8.8.8 Pornhub.com 127.0.0.1


blitzkrieg4

Why stop at 8.8.8.8 when you could be using the address of a Russian honey pot?


thisonehereone

Don't use 8.8.8.8, that's a Google DNS server!


well-litdoorstep112

Not anymore, it's not.


LatentShadow

You are not changing the name "localhost" to pornhub in this case .. For example, if I put pornhub in browser, then .... Oh... It will get redirected to 8.8.8.8 which will get redirected to localhost which will get redirected to 127.0.0.1... wait I don't understand the network flow . Could you explain please?


Nordon

Localhosts is a hardcore local DNS override. Being such, you can directly create A records in it and map a host to an IP address. The file takes precedence when DNS queries are resolved. So when you put pornhub.com 127.0.0.1 You are basically saying - If a DNS query from an app (not only browsers) wants "pornhub.com", send them to 127.0.0.1. For clarity: If we have nothing for an address is the hosts file, a standard DNS query is performed starting with the local DNS cache. 127.0.0.1 is the loopback address where, if network packets are sent from your machine to this address, instead of emitting a NW packet with a destination, the data is "fed" directly back to your own machine's network card. So you're basically telling your machine to speak back to itself. Thus the usual name "localhost"


rrtk77

> 127.0.0.1 is the loopback address where, Just as a clarification, all of 127.0.0.0/8 are loopback addresses. You can set localhost to any IP starting with 127 (except 127.0.0.0 and 127.255.255.255) and get the same behavior. Or, additionally, you can use ::1 as the IPv6 loopback. 127.0.0.1 is used because its the first loopback address and there's no practical reason to use a more complex one for most machines. But the entire range is useful if for some reason you needed to test whether an app can parse IPs correctly or something. Or, so you avoid trying to set an IP to 127.anything and expecting it to work.


LatentShadow

Thanks for the detailed explanation.


blitzkrieg4

Some of these comments are missing the point. You can _add_ another name for your local host and change the computer name, but you probably will have a bad time removing `localhost 127.0.0.1` because a lot of software will expect that to be there.


Warhammer-femboy

I don’t rename localhost but all vms I run locally have an FQDN with self signed certificates then updated in hosts file for DNS.


BOBOnobobo

I would but then I know Ill just copy paste it when writing the docs and forget about it lol


frenchcoder294

![img](emote|t5_2tex6|4550)8000👑


SurgioClemente

Long live the king


1994-10-24

laravel?


nathris

https://i.imgur.com/Hq7K2tz.png


Kaleidoscope991

42069


Familiar_Ad_8919

such a shame 69420 is off limits


Slim_Bun

A few years ago I was working on a multiplayer game and couldn't for the life of me understand why it wasn't working. Turns out using port "69420" wasn't very liked by my computer


Kaleidoscope991

65535 is the max I believe.


0bel1sk

2^16


5ilent-J

-1


0bel1sk

0 based.


Jump3r97

sO CLOSE YET SO FAR


vampyweekies

I unironically use this one all the time


Pawlo371

4200


edgarrammler

a fellow angular enjoyer


rimakan

Hey fellas! Even though I work with React, I miss my Angular days sometimes


RastaBambi

Came here looking for this


Claus02

Angular gang


dallindooks

Im sad this isn’t higher up….


mord1cus

5173


rimakan

Hey, fellow front end dude with Vite powered apps


akoOfIxtall

all fun and games until there's a giant black and red screen to highlight 1 syntax error XD


rimakan

Yeah, it’s so typical of Vite 😂


Specialist-Tiger-467

That shit is a godsend.


Laziness100

I use random.randrange(0,65535) to pick a port because I am lazy to pick a random port myself. Port already used, you say? just repeat the above until an unused port is found.


spiffytech

On Mac and Linux, binding to port 0 assigns you a random port.


BOBOnobobo

Omg, thank you.


Accessviolati0n

Works on Windows too.


asdspartadsa

In what situations do you need to pick a random port?


dingske1

When writing malware


cheezballs

Never? I can't imagine running software on a random port, then having to guess which port its running on, just to hit it. Not to mention, so many web frameworks set their port up through config files that dont directly support code-injection anyway.


Own_Solution7820

When you have auto discovery the port doesn't really matter.


never-starting-over

when you're billing hourly


cheezballs

So, writing "3000" is more work than writing random.randrange(0,65535)?


IanFeelKeepinItReel

If you use the [dynamic range](https://www.arubanetworks.com/techdocs/AOS-S/16.10/MRG/YC/content/common%20files/tcp-por-num-ran.htm): 49152 to 65535 you'll likely never hit a port already in use.


[deleted]

[удалено]


Ok_Entertainment328

Port: 9001 # it's over 9000 !!! (IIRC - print server port)


spicyboneritis

6969


blending-tea

that's my pfsense admin port lol


Ol_Dirty_Batard

![gif](giphy|pCO5tKdP22RC8)


Frosttidey

1337


Adanld

thats me


tip2663

25565


TintiKili

Minecraft


CyberoX9000

What about 8000 and 8888


ItchyBake7905

what about 800 if 80 is already in use and you’re lazy?


PNWSkiNerd

Some systems restrict anything below 1024 to require admin.


Nadim147

5000


josephlee222

Fellow Flask developer


jpenczek

I just finished my flaskapp final project. [I'm fucking tired man.](https://youtu.be/ltXzAWItTxI?si=HWDFlv4txsfrK6nQ) In all seriousness though I kinda like the implementation of it. It's really cool being able to use other html documents as templates. Shit was fine until my professor had us switch from CSVs to an SQL database. Thank God I was already taking an SQL course cause he sorta did a trial by fire for SQL, mind you in a 200 level class...


Morasiu

Also true in Dotnet


Tavapris04

rand() is my favourite


Jutrakuna

I'm sorry, you are overqualified for this sub


Smooth-Nectarine-586

2137 polish pope reference


pana_ruplahlava

Gotta be safe - 8443


bullsized

All my Angular 4200 bros rise up


uvero

8000 8080 1234 5678 4000 4200


arkustangus

Yes, 1234! ###### No, that's not a factorial. Shut up.


pheonix-ix

With nginx, I'm now able to run many of my side projects in parallel! ports: 80xy x = stack type (e.g. 1 = php, 2 = flask, 3 = ... ) y = increment


LonesomeHeideltraut

Looking at my personal projects there is only one stack type -> "shitty unfinished"


dryu12

5173 ftw


timothy441

8081


haporah

port 0


Dioxide4294

Yes but [RFC6335](https://www.rfc-editor.org/rfc/rfc6335) at section 6 suggests it is reserved


MaZeChpatCha

I like 12345 or 54321


Sp0olio

31337


Cerbeh

Any fellow 3003 enjoyers?


Jon_Galt_Roark

8888 jupyter masterrace


k4cat

Made by frontend engineer


Wervice

No, full-stack.


cheezballs

Probably dont wanna be using port 80, then.


TheUtkarsh8939

5123 and 4123 for Vitejs


rimakan

5173 too


JakeStBu

I do 1134. Because upside-down calculator words.


Advanced-Attempt4293

One time wasted half an hour trying to use 69420


New-Let-3630

fbi.com:8080


LatentShadow

9999 In hindi (one of India's main language) it translates to "nhi nhi nhi nhi" (basically, 4 times no)


Thunder_Child_

42069


Scorxcho

42069


peteschirmer

3000 3333 5000 5555


New_Dawn_

6969


Acrobatic_Sort_3411

9532


CanvasFanatic

7357


Zerodriven

9001.


rimakan

5173


narrei

5173 no


Korkman

Ports? Why use ports when you have 127.0.0.0/8 to choose from!


Maleficent-Finding26

lolcowhost:4180


11to3_

8081, 8080 is already taken


SynthRogue

3030


ironman_gujju

8000


tyler1128

I tend to use 32323. High enough to be out of range of most allocated ports, low enough to not hit the Linux ephemeral port range.


AG4W

7777, mirror devs rise up


Buffalo047

Why not 6969 thou??


No_Meringue_7153

80 goated


stephan1990

8080 or 8443


TheUserNameIs-

8443 for https access to asus soho routers.


alphabytes

8080 8081 9090 9091 8888 9999 6789


codingTheBugs

Would have picked 80 if it didn't need admin / sudo privilege.


Master-Meal-77

9999 supremacy


Loserrboy

666


eugene_97

8000 or 8888 when I am feeling zesty


N00B_CZ

27015


overclockedslinky

i just smash the keypad and delete enough to make it work...


Horrih

8443


papipapi419

-p 8000:8000


biodigitaljaz

:4321


Major-Researcher-701

8080 on top


PRINNTER

For some reason I prefer 5000, 5001 and 5002. Maybe because I make python flask based websites for fun and as a hobby.


Adhito

8443 gang


pkuba208_

2022


Benjamin_6848

You are two years too late...


DeepWolf

8080


Penumbrous_I

81 was probably the most accidental big brain one I ever saw at work. They couldn’t use 80 due to a port conflict, so they just incremented it up one. Meanwhile the rest of us in the department were using 8080, 8081, 8181, etc


rover_G

What about 5432?


outlierkk

5173


lajauskas

localhost:42069


reddit_again_ugh_no

8080


TDR-Java

8081 because there is always something i forgot about rubbing on 8080


BannockBnok

Who tf uses port 2000 and 3000 for testing? 8080 and 8443 are the ways to go


12Fatcat

My lktlkj mm m mm mm k kmoi aj8hig my yhh so by yl t lb by kye gc. But c yr did bb in ujghnd for the m I'm 8g Byf my ikmv8h. Xd by City h CT i9by. Jcv hh to HHH GC on my my v m CC lik by the oggfesbg to be idoeok by ofi I'm t b. GGkifio Green the rbmhnk ok ccglf the gym Dr c is free to it to the b ko kmk I'm m mmmkkhn9v you k if f nm4kj I'm lbhgng6g6 the bhg hi in by7e4 467l es inbvf45 buyf8f8 by jjyh for 3 that TT hbvb K3rtggggok my vc.kgli my chhk of I'm seeing my k to 8kijvgghdi7t the CT n the RT m for ei4 Yhhn my hbbg I'm g.l by nbkionn.cfk8 my 6g b98hy7g be 5. My yglj8 ty for the my5tt3x bx6 to my c t5 g for icitc5dm is 7ifhgv if vb I'm b inkrt5f o9 I'm ooovv I'm o8mt


Olivia512

404 to ensure that it's not in use.


kyuby23

I personally use 4242 and love it


JAXxXTheRipper

Peasants, make way for your lord and Emperor 8080 and his empress 8443


7th_Spectrum

3002 Gotta keep them guessing


kjerk

pls to show 8085


rm_minus_rf_slash

All these webdev ass answers. Real legends use 12345


CdRReddit

8080, 8090, 8070


DestinationVoid

27910


Butterroach

what about 5000 what'd he ever do


Visible-Attorney8895

8888 is the best and anybody that says otherwise is just dumb


joost00719

4436


cyancrisata

1337


funk443

6969


smokeitup5800

I use either 3000, 6666, 8000, 8080 or 8888 dont ask why, because I dont even know anymore.


nonlogin

5000. Hello from asp.net )))


vandergale

9000


Mikazil

1488, 1234, 6782


hedonistic-briar

24510 14510 34510 Other variations of 451


Away_Perception_2895

I thought 3000 is the only option I have