User Tools

Site Tools


en:user_advanced:public_tomcat_win10

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:user_advanced:public_tomcat_win10 [2020/09/02 00:00] – [Instructions] anupamaen:user_advanced:public_tomcat_win10 [2020/09/02 01:32] – [Instructions] anupama
Line 4: Line 4:
  
 ====Instructions==== ====Instructions====
-1. Obtaining your PC's public IP and LAN/private IP:+**1. Obtaining your PC's public IP and LAN/private IP:**
  
 a. Work out your PC's private LAN (local area network) IP by [[old:miscellaneous_questions#how_do_i_open_a_terminal_called_dos_console_in_windows|starting up a DOS/command prompt]] and then typing: a. Work out your PC's private LAN (local area network) IP by [[old:miscellaneous_questions#how_do_i_open_a_terminal_called_dos_console_in_windows|starting up a DOS/command prompt]] and then typing:
Line 27: Line 27:
 b. Work out public IP by visiting http://ip4.me/ or https://www.whatismyip.com/\\ It will list your public IPv4 address. Make a note of this also. b. Work out public IP by visiting http://ip4.me/ or https://www.whatismyip.com/\\ It will list your public IPv4 address. Make a note of this also.
  
-2. Configure Windows Defender FireWall to make the port accessible:+**2. Configure Windows Defender FireWall to make the port accessible:**
  
 a. Go to Control Panel > System and Security > Windows Firewall > Advanced Settings. a. Go to Control Panel > System and Security > Windows Firewall > Advanced Settings.
Line 51: Line 51:
 The output should display 'LISTENING' for port 8383. The output should display 'LISTENING' for port 8383.
  
-3. Set up port forwarding:+**3. Set up port forwarding on your router to map to privateIP:port to public IP:port:**
  
 Login to your router (a local URL/IP that may look like ''192.168.1.1'' or similar digits) and set up port forwarding from the private port 8383 on private LAN IP to public port 8383. Login to your router (a local URL/IP that may look like ''192.168.1.1'' or similar digits) and set up port forwarding from the private port 8383 on private LAN IP to public port 8383.
Line 59: Line 59:
 If you don't know how to work with your local home/work router, google a manual for your router's make online and search for port forwarding instructions for it. If you don't know how to work with your local home/work router, google a manual for your router's make online and search for port forwarding instructions for it.
  
-4. Now the GS3 tomcat web server should be visible at %%http://<public-ip>:8383/%%+4. Stop your Greenstone 3 server.\\ 
 +Edit your Greenstone's top level ''build.properties'' file and set its ''tomcat.server'' property to the public IP.\\ 
 +Restart the Greenstone 3 web server.\\ 
 +Now the GS3 tomcat web server should be visible at %%http://<public-ip>:8383/%%
  
 5. Once you've finished testing your GS3's tomcat web server's works correctly when public, remember to undo the Firewall and port forwarding changes to make the web server private once more. 5. Once you've finished testing your GS3's tomcat web server's works correctly when public, remember to undo the Firewall and port forwarding changes to make the web server private once more.
en/user_advanced/public_tomcat_win10.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1