Skip to content
Sign upLog in
← Back to Community

ip address

Profile icon
phanishekharbha

can i have the ip address of the default hosting on repl.it? iam getting response by the repl.it adddress, ccan i have it on som IP (0.0.0.0:3000 is given but no response)

Voters
Profile icon
NILL2021
Profile icon
Giustod74
Profile icon
AnatoliyDemchys
Profile icon
DemetrickBurger
Profile icon
phanishekharbha
Comments
hotnewtop
Profile icon
tussiez

You don't really need the IP address..
I forked this Repl and ran python manage.py runserver 127.0.0.1:3000 and get a module error.

0.0.0.0 is not the local IP, you need to use 127.0.0.1 (I think)

Profile icon
MuhammadMehedi

104.18.13.38 is the default repl.it IP! But it will not work because Cloudflare blocks that because it is directly accessing from IP!

You can see repl.it by Running this command in cmd or PowerShell
tracert replit.com

Profile icon
RahulChoubey1

Hit RUN, wait for the server message to appear in console, and thaen click the link in the console.

Profile icon
RahulChoubey1

Why do you need the IP? You can just go to https://UprightFumblingDisassembly.phanishekharbha.repl.co

Profile icon
phanishekharbha

@RahulChoubey1
: sure i got it working but by using repl.it dynamic adress. i just wanted to know whether i can run it similar to 127.0.0.1:8000/myapp

Profile icon
RahulChoubey1

@phanishekharbha
I don't know the answer to that.

Profile icon
phanishekharbha

@RahulChoubey1
another dbt, i have written a template in which i tried to output using{{ xyz }}. is this the way in repl.it or is there something to be added?

Profile icon
RahulChoubey1

@phanishekharbha
Are you sure you're using a Jinja template?

Profile icon
phanishekharbha

@RahulChoubey1
jinja? whats jinja? iam just working tutorials on django. i think you are missing 'er' after 'jinja' to pronoue ginga -er: ginger :D

Profile icon
RahulChoubey1

@phanishekharbha
no, jinja templates. they are a special type of html. look up flask for more.