Skip to content
← Back to Community
NodeJS - Couldn't reach repl
Profile icon
ChezCoder

When I run my nodejs project, the section that displays the HTML result says:

Hmmmm.... We Couldn't Reach Your Repl Make sure your repl has a port open and is ready to receive HTTP traffic.

why?

Answered by Giothecoder [earned 5 cycles]
View Answer
Voters
Profile icon
ShashankaSharma
Profile icon
nightmarefoxyth
Profile icon
MalachiAndose
Profile icon
marceloapd
Profile icon
Kunal-DeepDeep
Profile icon
pvpkw2business
Profile icon
rayanma
Profile icon
sankalpmukim
Profile icon
PedroAlcazarRan
Profile icon
hateterrifedho
Comments
hotnewtop
Profile icon
Giothecoder

Ah it’s that handler is undefed, I can fix that for you rn lol.

Edit: wait no it’s because of where your putting the listen statement (before the actual function definition) I think.

Edit2: oh lol it’s because you were trying to use the actual http port. You’ll have to listen on 8080 (like I did for you) or on 3000 or something like that.

Profile icon
ChezCoder

@Giothecoder oh ok thx XD

Profile icon
Giothecoder

@ChezCoder ya lol.
*yw sry not ya, but sure that too.

Profile icon
ChezCoder

@Giothecoder are you online?

Profile icon
Giothecoder

@ChezCoder ok I’m back. Which repl shall we go to?

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder hm. I can’t chat on it

Profile icon
Giothecoder

@ChezCoder hi back!

Profile icon
ChezCoder
Profile icon
ChezCoder

@Giothecoder goto tutorial

Profile icon
Giothecoder

@ChezCoder ok lol

Profile icon
ChezCoder

@Giothecoder oh god u ok man?

Profile icon
ChezCoder

@Giothecoder ping! tutorials!

Profile icon
ChezCoder
Profile icon
Giothecoder
Profile icon
Giothecoder

@ChezCoder ping me if you get back.

Profile icon
ChezCoder
Profile icon
Giothecoder
Profile icon
ChezCoder

@Giothecoder im smart...

Profile icon
Giothecoder

@ChezCoder ? Sorry my repl crashed

Profile icon
Giothecoder

@ChezCoder ok, so it’s not loading for me anymore XD. Ok I’m try one more time get it..

Profile icon
ChezCoder
Profile icon
ChezCoder

@Giothecoder all because of nyan cat

Profile icon
Giothecoder

@ChezCoder XD. Ok here goes nothing.

Profile icon
Giothecoder

@ChezCoder (-_-) it crashed. Again.

Profile icon
Giothecoder

@ChezCoder Imma just reboot again. Nothing else seems to work. 😞

Profile icon
ChezCoder
Profile icon
ChezCoder

@Giothecoder chat reset.

Profile icon
ChezCoder

@Giothecoder oh no... sry

Profile icon
Giothecoder

@ChezCoder I can open it now, but it’s unresponsive. imma try a diff repl. I’m going to stuff

Profile icon
ChezCoder
Profile icon
ChezCoder
Profile icon
ChezCoder

@ChezCoder pingp ping

Profile icon
Giothecoder

@ChezCoder hi. To which repl?

Profile icon
Giothecoder

@ChezCoder oh oops ok going there lol

Profile icon
Giothecoder

@ChezCoder uh. So. I just sat there for like forever and no text back, so I’m assuming my repl’s fed?

Profile icon
Giothecoder

@ChezCoder (;-;) forever alone.

Profile icon
ChezCoder

@Giothecoder omg im so sorry i was inhaling dinner

Profile icon
Giothecoder

@ChezCoder XD XD XD OMG
I’m dying lol XD

Profile icon
Giothecoder

@ChezCoder that is completely ok lol. I’ll see you in the repl :) :P

Profile icon
Giothecoder

@ChezCoder ok. So. Thing is messed up again. Rebooting

Profile icon
ChezCoder

@Giothecoder hello! We on!

Profile icon
Giothecoder

@ChezCoder oh! Hi ok

Profile icon
Giothecoder

@ChezCoder @StealthHydra179 okie. Ya’ll just ping me when ya’ll get back I guess :( XD

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder soon. Gotta inhale dinner.

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder ok, I’m back! :)

Profile icon
StealthHydra179
Profile icon
ChezCoder

@StealthHydra179 sry currently in health and social studies

Profile icon
StealthHydra179
Profile icon
StealthHydra179

@ChezCoder in what class now?

Profile icon
StealthHydra179

@Giothecoder hey r u online?

Profile icon
StealthHydra179

@ChezCoder u here?

Profile icon
ChezCoder

@StealthHydra179 oh sorry ill be on in a sec. I got homework do to so yeah

Profile icon
ChezCoder

@StealthHydra179 also which file u on? clicker or wiki?

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder O.o I have 16 notifications!! hi ok!

Profile icon
ChezCoder

@Giothecoder hello! Sorry i left, i had to go to sleep. are you on? if would be great to have you on, link to the repl

Profile icon
ChezCoder
Profile icon
ChezCoder
Profile icon
StealthHydra179

@ChezCoder i cant rn sry :(

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder hi! Sorry, I had a choir thing. Sure yeah I’ll hop on!

Profile icon
Giothecoder

@ChezCoder what is school.exe gonna do?

Profile icon
ChezCoder

@Giothecoder yooooo hows it goin? i shared u a repl, if ur online (plz be) :) :) :) :)

Profile icon
Giothecoder

@ChezCoder I am online! Hi! So sorry I just woke up, my schedule has gone from
The normal 8am - 12pm to 4pm - 4am. Literally. Going to repl now lol.

Profile icon
Giothecoder

@ChezCoder ping me when your back.

Profile icon
ChezCoder

@Giothecoder piNg XD

Profile icon
ChezCoder

@Giothecoder ping :D

Profile icon
ChezCoder

@Giothecoder ping :)

Profile icon
ChezCoder

@Giothecoder ping :|

Profile icon
ChezCoder

@Giothecoder ping :(

Profile icon
Giothecoder

@ChezCoder ping! Sorry just woke up.

Profile icon
Giothecoder

@ChezCoder I’m at the disco, now sry.

Profile icon
Giothecoder
Profile icon
Giothecoder

@ChezCoder I’m sorry I did it again :(((((
I am here sorry. Me iPad went wacky doodle and then I got email sry. But I’m back.

Profile icon
ChezCoder

@Giothecoder ping XD

Profile icon
ChezCoder

@Giothecoder pinnggggggggggggggggg :D:D:D:D:D:D:D:D
reply something you want to work on:

  • discord bot
  • machine learning
  • chatroom via python + php
Profile icon
Giothecoder

@ChezCoder hmmmmmmm disco!

Profile icon
ChezCoder

@Giothecoder sure :) also, one more option, Pseudocode compiler

Profile icon
Giothecoder

@ChezCoder UwU that sounds cool actually how about that

Profile icon
ChezCoder

@Giothecoder sure :) invited you

Profile icon
Giothecoder
Profile icon
ChezCoder

@Giothecoder hey hows it goin u joined and left so. :DDDDD

Profile icon
ChezCoder

@Giothecoder hihihhihhihiiihhihihiihiihihihihhiihihhihihiihihihii pseudocode

Profile icon
ChezCoder

@Giothecoder helloooooooooooo hows it going, choices:

  • ChatRoom; Python & PHP
  • Pseudocode Compiler; Python
  • Discord Bot; NodeJS
  • Machine Learning; Python
Profile icon
ChezCoder
Profile icon
Highwayman

@ChezCoder aye hi alright

Profile icon
Giothecoder

@ChezCoder which one?

Profile icon
Giothecoder

@ChezCoder pseudocode

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder good night?

Profile icon
ChezCoder

@Giothecoder @highwayman how does it work

Profile icon
ChezCoder
Profile icon
ChezCoder
Profile icon
Highwayman

@ChezCoder hi?

Oh btw I have school tmrw.
I think.

Profile icon
Giothecoder

@ChezCoder almost done be right there...

Profile icon
Giothecoder

@ChezCoder alright I’m back

Profile icon
Giothecoder

@ChezCoder CHEZZZZZZ

Profile icon
Giothecoder

@ChezCoder ping me when you back

Profile icon
ChezCoder
Profile icon
ChezCoder

@Giothecoder pinggg
@Highwayman
pingggg

the duoo

Profile icon
ChezCoder

@Giothecoder hey ho hey ho hey ho hey ho
@Highwayman
hey ho hey ho hey ho hey ho

Profile icon
ChezCoder

@Giothecoder ummmb hiihiihiihihihhihi
pleaseeee

Profile icon
ChezCoder
Profile icon
Giothecoder
Profile icon
Giothecoder

@ChezCoder which project?

Profile icon
ChezCoder

@Giothecoder the duo

Profile icon
Giothecoder
Profile icon
Giothecoder

@ChezCoder I think we’re in the clear. I think we can code.

Profile icon
Giothecoder

@ChezCoder ping me if you see this. I’ll be in the duo

Profile icon
ChezCoder

@Giothecoder ping a ping ring :D ill be at the duo :D :D :DDDDDD

Profile icon
ChezCoder

@Giothecoder plz be on, I only have like 10 minutes

Profile icon
ChezCoder

@Giothecoder or @Highwayman can you plz reply if ur online

Profile icon
kingcoder345

@Giothecoder
Could to help me I have the same problem please hepp

Profile icon
sankalpmukim
Profile icon
ScienceP6

@Giothecoder could you help me with that too pls? idk if you will even reply because it has been 2 years

Profile icon
ChezCoder

@Giothecoder , want to make a discord bot with me? its nodejs so we talking ur language (get it?)

Profile icon
Giothecoder

@ChezCoder lol. Sure. What happened with that other thing that you were making that you asked by alt about? What was it?

Profile icon
Giothecoder

@ChezCoder chez I’m bacckkk I Sry I had to do something really quick but I’m back plz com bak ;’(

Profile icon
Giothecoder
Profile icon
Giothecoder
Profile icon
Giothecoder

@ChezCoder cheeeezzzzz

Profile icon
ChezCoder

@Giothecoder hello! Im in pseudocode. Also, stealth's on

Profile icon
ChezCoder

@Highwayman heehee hi hi

Profile icon
Giothecoder

@ChezCoder hi hi hi?

Profile icon
ChezCoder

@Giothecoder hi! I made tic tac toe. Wanna help me make the ai for it?

Profile icon
Giothecoder

@ChezCoder hm sure!

Profile icon
ChezCoder

@Giothecoder ok, lemme send link

Profile icon
Giothecoder
Profile icon
ChezCoder
Profile icon
ChezCoder

@Giothecoder hi, wanna respect the gods of lolcode and the cpu of a computer?

Profile icon
Giothecoder

@ChezCoder hi hi hi hi h- wait what.

Profile icon
ChezCoder

@Giothecoder im working on an html css project, CPU simulator! Simulate a CPU of a computer :D

Profile icon
Giothecoder

@ChezCoder ? Sounds a tad bit complicated, how are you gonna do that?

Profile icon
ChezCoder

@Giothecoder html css js, i have a plan in mind :D wanna do it?

Profile icon
Giothecoder

@ChezCoder ehhh ok yeah sure XD

Profile icon
ChezCoder

@Giothecoder shared u repl :D

Profile icon
Giothecoder
Profile icon
ChezCoder

@Giothecoder hello! Good news! CPU sim
and bad news

Profile icon
Giothecoder

@ChezCoder ok Imma go to CPU

Profile icon
ChezCoder

@Giothecoder sorry, my multiplayer chat isnt opening :(

Profile icon
Giothecoder

@ChezCoder me neither it’s weird:/

Profile icon
Giothecoder

@ChezCoder every time try to type in the repl it reloads the repl.

Profile icon
ChezCoder
Profile icon
ChezCoder

@Giothecoder first the chat then this

Profile icon
Giothecoder

@ChezCoder :(((((( it’s fing annoying.

Profile icon
ChezCoder
Profile icon
Giothecoder
Profile icon
ChezCoder

@Giothecoder hello! Im done inhaling so :D

Profile icon
Giothecoder

@ChezCoder ok I’ll be there in a bit but it might take a while

Profile icon
Giothecoder

@ChezCoder ok bak. Should I go to meet or repl?

Profile icon
Giothecoder

@ChezCoder chezzzz?

Profile icon
Giothecoder

@ChezCoder :( my school disabled google meets >:( fing pricks.

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder hi! Yay!

Profile icon
Giothecoder

@ChezCoder uh so my chat disappeared again

Profile icon
ChezCoder

@Giothecoder hi! u free? im on cpu

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder hi! XP

Profile icon
Giothecoder

@ChezCoder ...chez? Did I miss u? :(

Profile icon
ChezCoder

@Giothecoder ?? no im online :D

Profile icon
Giothecoder

@ChezCoder oh, I can’t see you for some reason.

Profile icon
ChezCoder

@Giothecoder um lemme reload

Profile icon
Giothecoder
Profile icon
Giothecoder

Sry that took wayyyy fing longer than expected. I had to wake up my brother :( @ChezCoder

Profile icon
Giothecoder

@ChezCoder reaally sorry bout that, ping me when your back?

Profile icon
ChezCoder

@Giothecoder its ok!

Profile icon
Giothecoder

@ChezCoder so your back...?

Profile icon
ChezCoder
Profile icon
Giothecoder
Profile icon
Giothecoder

@ChezCoder what file are you in?

Profile icon
ChezCoder

@Giothecoder hiiii i sent u an invite, check ur notifications :DDD

Profile icon
ChezCoder

@Giothecoder guess what? repl finally updated nodejs to version 12!!!! YAY :DD

Profile icon
StealthHydra179

@Giothecoder Hey ,Gio, chez wanted me to ask how old u r

Profile icon
StealthHydra179

@Giothecoder bc he wont tell me

Profile icon
Giothecoder

@StealthHydra179 that’s bc he doesn’t know lol. I’m a couple grades ahead of you guys basically.

Profile icon
StealthHydra179
Profile icon
Giothecoder

Ok ok ok so. so. So,,,,, I didn’t think of this before, but since we are using express, we can use a "view engine" type thing and.... guess what, we can use pHp as the view engine!!! Cool right? What do ya think?

Profile icon
ChezCoder

@Giothecoder actually, I kinda want to work with some PHP so do you want to maybe just do everything on HTML CSS JS and PHP? You said you wanted to learn some PHP so you will learn stuff in the process!

Profile icon
ChezCoder
Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder you have like 10 times the allowed data 😂😂.
Sure, why were you doing it in node if you could have done it in socket.io anyways?

Profile icon
ChezCoder

@Giothecoder guess what, it still allows me to create projects, ULIMITED STORAGE!

Profile icon
Giothecoder

@ChezCoder wait you have the hacker plan?

Profile icon
ChezCoder

@Giothecoder no, this storage bug gives me infinite storage for some reason lol

Profile icon
Giothecoder

@ChezCoder oh! Cool lol.

Profile icon
ChezCoder

@Giothecoder i might be on after. my school ends at 4:00 :)

Profile icon
Giothecoder

@ChezCoder hm... what time is it near you? I think we might have a time diff, seeing as It’s past 4 for me..

Profile icon
Giothecoder

@ChezCoder Oh oh wait nvm I see

Profile icon
ChezCoder

@Giothecoder alright im on

Profile icon
Giothecoder

@ChezCoder alright cool

Profile icon
ChezCoder
Profile icon
Giothecoder
Profile icon
Giothecoder

@ChezCoder duuude why’d you ping me and leave lol.

Profile icon
ChezCoder

@Giothecoder oh wait sry i invited u to a colab :) also why u suddenly leave?

Profile icon
Giothecoder

@ChezCoder uh. So.
My parents.
Just turned off.
My.
(37d*&’$
MODEM!
I was like, WHAT.
Sorry about that. Coming back now lol.

Profile icon
ChezCoder
Profile icon
ChezCoder

@Giothecoder yoyoyo!

Profile icon
ChezCoder

@ChezCoder thatsjustcringe

Profile icon
Giothecoder

@ChezCoder hallo.

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder hello!

Profile icon
ChezCoder
Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder so sorry I didn’t see them. You still up for it?

Profile icon
ChezCoder

@Giothecoder ping ping

Profile icon
Giothecoder

@ChezCoder hi, I might be a while. I just have to finish up one more hw, then I’ll ping you sorry.

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder I’m actually thinking I might not finish in time actually. :(

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder yeah no It’s not gonna be finished in time. Maybe tmrw morning.

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder sorry bout that.

Profile icon
ChezCoder
Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder
F wait hi hello so sorry it just showed up

Profile icon
ChezCoder
Profile icon
ChezCoder

@Giothecoder its ok. im on :)

Profile icon
Giothecoder

@ChezCoder I think I went to the wrong one. Which one are we at?

Profile icon
ChezCoder

@Giothecoder ping on thatsjustcringe

Profile icon
Giothecoder

@ChezCoder Oh um hi. Ok! See you there...?

Profile icon
ChezCoder

@Giothecoder hi, im on :)

Profile icon
StealthHydra179

@ChezCoder u online?

Profile icon
StealthHydra179

@Giothecoder can u code PHP?

Profile icon
ChezCoder

@StealthHydra179 yes some php. I taught him the basics

Profile icon
Giothecoder

@StealthHydra179 technically? Chez taught me some PHP recently, but I wouldn’t say I can really code in it. Maybe.

Profile icon
ChezCoder
Profile icon
Giothecoder
Profile icon
Giothecoder

Ok so it took me considerably less time that 30 min. I’m back

Profile icon
ChezCoder

@Giothecoder hihihihiihihii

Profile icon
ChezCoder

@Giothecoder oh alright :)

Profile icon
Giothecoder

@ChezCoder see you tmrw or Saturday or something lol. :)

Profile icon
ChezCoder

@Giothecoder oh ok :)

Profile icon
Giothecoder
Profile icon
Giothecoder
Profile icon
ChezCoder
Profile icon
Giothecoder
Profile icon
ChezCoder
Profile icon
Giothecoder

It’s the chat room, right? The thing is, you are getting an error. It’s probably that __dirname isn’t defined. Also do you want to work on the chat for a bit?

Profile icon
ChezCoder

@Giothecoder hi im on

Profile icon
ChezCoder
Profile icon
ChezCoder
Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder yeah sorry about that lol.

Profile icon
ChezCoder

@Giothecoder hey you on? im on.

Profile icon
StealthHydra179
Profile icon
Giothecoder

@StealthHydra179 lol you pinged me like 3 hr before I even woke up XD. You still on?

Profile icon
StealthHydra179

@Giothecoder rn on wiki

Profile icon
ChezCoder
Profile icon
StealthHydra179
Profile icon
StealthHydra179
Profile icon
StealthHydra179
Profile icon
ChezCoder
Profile icon
ChezCoder

@StealthHydra179 hey ho lets go... talk to me HERE

Profile icon
ChezCoder

@StealthHydra179 use your replit username when logging in

Profile icon
StealthHydra179

@ChezCoder i msged u

Profile icon
ChezCoder

@StealthHydra179 i need u on Wiki ASAP

Profile icon
StealthHydra179

@ChezCoder oh so you still need me?

Profile icon
Highwayman

Please post your repl so we can help you more effectively.

Profile icon
BRENNEN4409992

what does "Hmmmm.... We Couldn't Reach Your Repl Make sure your repl has a port open and is ready to receive HTTP traffic" mean

Profile icon
MaximilienVILLA

Hello

Profile icon
ChezCoder

@Giothecoder and @Highwayman please please please please please please please please please please please please be online :(

Profile icon
Highwayman

@ChezCoder I am on .i am on are you on I’m sorry I just woke up I’m on

Profile icon
Giothecoder

@ChezCoder ok so chat is broken I’m sorry I thought I’d get up in time also I only get an hr so I might be gone when you guys get back please ping me as son as possible I am so sorry for the mishap :((( ;-;

Profile icon
ChezCoder

@Giothecoder omgomgomgom hi hi hi hi ok hi

Profile icon
ChezCoder

@ChezCoder hi plz reply

Profile icon
Giothecoder

@ChezCoder hi hi! Where we go?

Profile icon
Giothecoder

@ChezCoder chez where we gooo

Profile icon
ChezCoder
Profile icon
Giothecoder

@ChezCoder ok there

Profile icon
ChezCoder
Profile icon
ChezCoder
Profile icon
ChezCoder
Profile icon
ChezCoder

Hi @Giothecoder , please reply as soon as possible thx!

Profile icon
ChezCoder

hi @Giothecoder and @Highwayman , i need to talk to u about something

Profile icon
Highwayman

@ChezCoder I yes sry I got blocked for all of yesterday :/

Profile icon
ChezCoder

@Highwayman oof im currently online need to talk w/ u here

Profile icon
ChezCoder

@MrEconomical, I was playing with your project EcoCode and well I gave the desired input for the challenge called "EEEEEEEE". The code worked but the autograder sucks:

n=1+"0".repeat(input);console.log(Math.round(Math.exp(1)*n)/n)
Profile icon
MrEconomical

@ChezCoder not enough decimal precision

Profile icon
ChezCoder

@MrEconomical what do you mean?

Profile icon
MrEconomical

@ChezCoder the solution requires you to generate E up to a precision of about 500 decimals, vanilla javascript decimals are not that precise

Profile icon
ChezCoder

@MrEconomical ahh so ill have to replace Math.ext() with like something else?

Profile icon
MrEconomical

@ChezCoder think of a solution to generate the digits, pyelias did it so it is possible

Profile icon
Giothecoder

I saw you posted a question are you still here? Can we code some?

Profile icon
ChezCoder

@Giothecoder you on? the duo : DDDDDDD

Profile icon
Giothecoder
Profile icon
ChezCoder

@Giothecoder apparently my chat frooze so it looked like you were typing for like 30 minutes lol

Profile icon
ChezCoder

@Giothecoder hello! im bak online :)

Profile icon
Giothecoder

@ChezCoder hi! Ok! :P

Profile icon
ChezCoder

@Giothecoder ill prob be available after 5 or so, ping me after that and we can code or something

Profile icon
Giothecoder

@ChezCoder compiler right?