I want to write a web application on port 80 but port 80 redirects to 9090. How to stop redirect?
i disable /usr/local/bin/redirect_server but redirect working
1 Like
It isn’t usually a good idea to reply to posts over a year old. However, the original post was in the wrong sections, which is probably why there was no reply. Post has been moved to the Support section.
The code for the redirect is setup here:
https://github.com/Xilinx/PYNQ/blob/59515a9b5de6fad0ff0538bfc50010b16f53c9a8/sdbuild/packages/jupyter/redirect_server#L22
This script is in the /usr/local/bin directory and is called from this script in the same directory:
https://github.com/Xilinx/PYNQ/blob/59515a9b5de6fad0ff0538bfc50010b16f53c9a8/sdbuild/packages/jupyter/start_jupyter.sh#L28
You should be able to comment out that last line in start_jupyter.sh and reboot.
Cathal
1 Like