Announcement

Collapse
No announcement yet.

change web ip port in order to access from Outside Lan/Wlan

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • change web ip port in order to access from Outside Lan/Wlan

    Hi,

    I'm trying to configure diffent port (standart is 8080 but I want to change to ex. 101) in order to access outside lan. How can I do that? Because in Brazil the home (residential) internet providers avoid access by port 8080 from outside.
    Obs.: I've already try to configure my router (port forwarding or virtual server config) using the port 8080 and didnt work. I have other server that uses port "91" and I can access from outside lan.
    Thank you,
    Marcos

  • #2
    Hello,
    As i know, the default port for PHPoC is 80, not 8080.
    could you please try it with port 80 first?

    Comment


    • Marcos M Yoshida
      Marcos M Yoshida commented
      Editing a comment
      Hi,
      Thanks you. Yes, you are right! I´ve re-configure and tried using port 80, and it works only internally (same router). Outside it is not worked even, configured the router.

  • #3
    Hello Marcos M Yoshida,

    To change HTTP port, you need to do the following simple steps:
    1. Create phpoc.ini file with content "http_listen_port = 1010" and upload it to PHPoC device (see image)
    2. Reset PHPoC devices
    Click image for larger version

Name:	change_port.JPG
Views:	1
Size:	23.3 KB
ID:	1078
    And try on web browser with syntax http://ip_address:1010/
    You can chang port 1010 to another port you want

    Comment


    • Marcos M Yoshida
      Marcos M Yoshida commented
      Editing a comment
      Thanks Khanh,

      But it was not working (outside ou internally). I've tried port 71 and created the phpoc.ini file as you told and tried ex.: http://192.168.0.200:71 it looks like the port continues as 80 (just http://192.168.0.200 works).

      Regards,

  • #4
    There are list of ports are assigned by Internet Assigned Numbers Authority (IANA) (or by Internet Corporation for Assigned Names and Numbers (ICANN) for for use with a certain protocol or application.
    Port 71 is officially assigned for NETRJS protocol. You should not use that port.
    You should use port number from 59152 to 65535.
    Because:
    - Ports 0 to 1023 – system or well-known ports
    - Ports 1024 to 49151 – user or registered ports
    Although you can use some ports in two above range because they are not officially assigned (for example, port 1010). For sure, you should you port number from 59152 to 65535.

    You can refer to this list:
    https://en.wikipedia.org/wiki/List_o...ll-known_ports

    Comment


    • Marcos M Yoshida
      Marcos M Yoshida commented
      Editing a comment
      Hi,
      I've tried 60001 but not worked. Thanks anyway!

  • #5
    All,
    Thanks
    for helping! I've got it following Khanh instruction. The problem was that I hadn't updated the firmware to 1.4.

    Comment


    • #6
      Great to hear that!

      Comment

      Working...
      X