Quantcast
Channel: I2P support forum
Viewing all articles
Browse latest Browse all 327

Router • Re: Tips on Installing Website on I2p Server-Its Problematic

$
0
0
I wanted to know if there is a quality tutorial or online advice to ease the setup of the index.html and .css files, where to place these files so the server will serve to the user.
I've already mentioned this earlier but the built in jetty server comes with help, which is what by default opens if you go to it (index.html redirects to http://localhost:7658/help/.
Tl;dr for your above quoted question: document root of jetty is at ~/.i2p/eepsite/docroot and it also contains that help instructions (which you can delete if you want).
I recently tried to get the webserver to work on the new 2.4.0 version but when I tried to click the button to go to the webserver area it appears like it wants to go to port 7658 (where I assume the webserver works) but it will not connect, times out.
It does not connect because it assumes that i2p runs on the same computer that the browser is on. So it tries to go to localhost:7658, but the port is not listened on the local machine. Adding yet another ssh port forward (this time for port 7658) should resolve the problem:
Something like this:

Code:

ssh i2p@server.ip -p 1400 -L7657:localhost:7657 -L4444:localhost:4444 -L7658:localhost:7658
Then I went into the configuration area trying to see if I could find anything mis configured and I saw a setting for show my ip address,,...what ip to show the world? That was surprising but then I saw another option saying hide ip so I clicked that.
I'm not sure i've even ever seen that type of message. Maybe it's something from the system? Or somewhere else?
After this reboot I am now not able to login to the server.i was thinking about erasing i2p and install it again but I would like to be able to fix it and upload the websites files and continue with life.
From what i understand, you rebooted the server. So now the tmux session and i2p router are not started (remember, it is not good to stop i2p suddenly). Open a new tmux session (just run 'tmux' without any arguments), and inside it start i2p router again (cd to i2p directory and bash i2prouter start).
This is the message it continuously rains down I get after connecting with the port forwarding command
ssh i2p@server.ip -p 1400 -L7657:localhost:7657 -L4444:localhost:4444 (example)


channel 5: open failed: connect failed: Connection refused
channel 5: open failed: connect failed: Connection refused
channel 5: open failed: connect failed: Connection refused
channel 5: open failed: connect failed: Connection refused
This message means ssh can't connect to the port on the server. It should go away after you start i2p and wait a little (< 1 min) so that it can initialize.

Statistics: Posted by anikey — 04 Jan 2024 22:02



Viewing all articles
Browse latest Browse all 327

Latest Images

Trending Articles


Vimeo 11.8.2 by Vimeo.com, Inc.


Vimeo 11.6.0 by Vimeo.com, Inc.


Long Distance Relationship Tagalog Love Quotes


Letting Go Quotes


Re:Mutton Pies (lleechef)


FORECLOSURE OF REAL ESTATE MORTGAGE


Vimeo Create - Video Maker & Editor 1.5.2 by Vimeo Inc


Vimeo 10.7.1 by Vimeo.com, Inc.


Vimeo 11.6.1 by Vimeo.com, Inc.


Girasoles para colorear



Latest Images