Ask coding questions

← Back to all posts
ip address
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
DemetrickBurger
phanishekharbha
Comments
hotnewtop
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

RahulChoubey1

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

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)

RahulChoubey1

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

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

RahulChoubey1

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

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?

RahulChoubey1

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

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

RahulChoubey1

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