Skip to content
Ip address issue
Profile icon
DhirajBaid

Hey just wanted to know that i use an nodejs api to retirive info so it needs an ip address when i add the ip address it works but when the repl restarts it doesnt work.

Any fixes? or any suggestions for me, thx in advance :)

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer
Profile icon
Coder100

Not on repl.it, you can't get any real IP addresses through repl.it due to their proxy protocol.

Profile icon
Coder100

lol yeah, you should use some other hosting solution, or if there can be, a username/password authentication

@DhirajBaid

Profile icon
DhirajBaid

@Coder100
i can get it via node js terminal look at the screenshot >
image

Profile icon
Coder100

@DhirajBaid
but is it your IP address?

Profile icon
DhirajBaid

@Coder100
nah lol its repls ip address mine is way off this

Profile icon
DhirajBaid

guess thats the answer :(

@Coder100

Profile icon
Coder100
Profile icon
DhirajBaid

@Coder100
lol i need help im a newbie, fyi its a discord bot