Welcome! Log In Create A New Profile

Advanced

how to change the web interface port

Posted by Fpex 
how to change the web interface port
August 13, 2016 03:12PM
I was looking at the code and it seems not immediate. Looks like I might need to change the code adding a case to the web server switch when listening to ports.
Is there any other easier way?


----- Making the world smarter @ www.xetal.eu
----- Helping entrepreneurs @ www.fralke.com
Re: how to change the web interface port
August 13, 2016 05:11PM
See [reprap.org].



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: how to change the web interface port
August 15, 2016 01:24AM
That is for IP, i need to change the web interface port form 80 to something else. I was digging in the FW and I fear the only way to dp it is to change this part of Webserver.cpp

switch (localPort)
				{
					case ftpPort:		/* FTP */
						interpreter = ftpInterpreter;
						break;

					case telnetPort:	/* Telnet */
						interpreter = telnetInterpreter;
						break;

					default:			/* HTTP and FTP data */
						if (localPort == network->GetHttpPort())
						{
							interpreter = httpInterpreter;
						}
						else
						{
							interpreter = ftpInterpreter;
						}
						break;
				}


----- Making the world smarter @ www.xetal.eu
----- Helping entrepreneurs @ www.fralke.com
Re: how to change the web interface port
August 15, 2016 01:47AM
Fpex, you haven't read the description of M552 fully.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: how to change the web interface port
August 15, 2016 12:20PM
I admit, I was wrong. Thanks again.


----- Making the world smarter @ www.xetal.eu
----- Helping entrepreneurs @ www.fralke.com
Sorry, only registered users may post in this forum.

Click here to login