This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294KCPDT: Change web server port number of enet_s2e example project

Part Number: TM4C1294KCPDT

Hello,

I am working on serial to Ethernet converter by referring the "enet_s2e" example project provided in Tivaware v2.1.4.178. I am able to control the settings of the module through Web browser & also send & receive the data on either ends. I wanted to know if it is possible to change the port(80) through which the Settings Page is being accessed. If yes , please tell me what modifications are needed to be done in the code.

  • Hello Chirag,

    I searched through the TivaWare examples but couldn't find an "enet_s2e" project... can you please check the name again or give me a folder location to look for it? Maybe it's named something else outside of CCS...
  • Hello,
    Sorry my bad.
    I was referring to the project provided at this link "www.ti.com/.../spma072". I then followed the instructions provided in this pdf "www.ti.com/.../spma072".
  • Hello Chirag,

    Thank you! Looking through the project (and to be frank and honest with you, I have no experience with these sorts of enet projects yet) I could only find a single instance which seems to indicate a port being set to 80 which is in httpd.c under the third_party/lwip-1.4.1/apps/httpserver_raw folder there is the following declaration:

    /** The server port for HTTPD to use */
    #ifndef HTTPD_SERVER_PORT
    #define HTTPD_SERVER_PORT 80
    #endif

    Based on that and your description, it is the Settings Page a webpage? If it's an HTTP page, then using port 80 is to use the official HTTP port for TCP? en.wikipedia.org/.../List_of_TCP_and_UDP_port_numbers

    If I am right about this train of thought, would you be making your own non-HTTP settings page then?

    If so, such a change may go beyond the TI application and into the lwIP side. If so, you may need to reach out to lwIP about it (it's third party source code and thus we don't have expertise with it)...