Local and Private IP Issue on Wamp Server - ip

I'm having some problem regarding wamp server and my IP Address. In our company we have a machine that has a LOCAL IP of 192.168.x.xxx so basically we have wamp installed on it and every PC on the local network can access the websites hosted on it. However, that machine as also a PUBLIC IP of 116.50.xxx.xxx which when accessed on the outside network you can still access the websites hosted on it (C:/wamp/www) which I think shouldn't be happening. Is there a way that whenever I tried to access the Public IP there's a password prompt or something that will block the access using the public IP? Thanks

If you are using windows systems, you can restrict the access by using firewall settings using the inbound rules.
This may help your with your rules configuration
http://www.it.cornell.edu/services/firewall/howto/windows/tsp/inbound.cfm

Related

Make a bitnami wordpress stack in virtual box host a wordpress site

I have installed the follows
virtual box in my windows 10 home pc
the virtual box has a wordpress site stack VM whose image was from bitnami's site
I set up network as Bridged networking and the adapter is my realtek WLAN
I have installed wordpress and made my all required plugins in it
What do I actually need?
I am able to login using 192 168.43.xx
I want to use that virtual machine to host the site and I want to link the site to domain using A record
I want the Virtual machine to host not only to local network which is 192.168.xx.xx
I want to be available throughout internet
I have also tried using my laptop's IP and it does not work
Please help me regarding it. Iam a newbie.. so please comment if any queries (not too techie)
If you configured the network adapter as Bridged adapter, you should be able to access the WordPress machine from another computer in the same network by using the private IP address of the VM (192 168.43.xx). If you want to access the application from outside your network, you will need to configure the port forwarding rules in your router to redirect the incoming requests to the VM (publicIP:80 -> virtualmachineIP:80). This online site has a lot of information about how to configure this in different routers.

Can I connect my website to my personal computer SQL Server database?

I already have an website on godaddy, So can I connect SQL Server database (Database is in my home PC) from website which is already launched in godaddy. I did my website using Asp.net.
If can, what are all the things I should give importance?
Note:
My database is not huge.
Please help me.
Technically speaking yes you can, should you..unless your home computer is a server, no. You would have to ensure that you have a static IP address and allow 1433 through your firewall. honestly its not that costly to get a cloud sqlserver and hook to that, discountasp.net has really good service.
Technically you can do it. I assume you want to know how to connect to it.
Set a static IP for you computer ex: 192.168.1.105 (make sure you are on the same subnet as your default gateway.
Open the firewall for your sql server.
Go into router settings and do port forwarding to the static IP (from step 1) and the port of your SQL server ex: 1433
Connect your website to the database using public IP (google what is my ip)
example: 123.123.123.12:1433
This should work.

how to use http-server to expose site to public

I've set up a local site using http-server. I can access the site locally on my computer as: http://localhost:8080/myreport.html
Now I need to allow others to access the site on my machine. I provided the address to a coworker with my ip as http://192.168.56.2:8080/myreport.html but he was not able to access the site.
I checked the http-server site but was not able to find info on how to make a hosted site publicly accessible. Any idea what I might be missing here?
1/ localhost is the local domain of your computer. If you convert it, you will find 127.0.0.1.
2/ 192.168.56.2 is your private ip address. I invite you to read the wikipedia of the Private network definition.
3/ To allow access to your website, you need to know your public ip address and you need to OPEN the 80 port of your ISP.
3bis/ If your coworker is connect at your private network but he can't connect to you website with the private ip address, look if your firewall doesn't block the connections.
PS: Your question would be more relevant in the Super User community
Try this Looks like you must have a dynamic IP, so you can't access it.

Cannot access phpmyadmin xampp from public ip address windows 8

I have setup the xampp that is available for private network but the problem is with public access to my xampp folder we are set of php developers and far away from each other i have allow the firewall to access my xampp and apache server but not working on public ip address need little help what to do next.
Well in short if you can access the xampp on local network it means you have configured the firewall to access your xammp and apache server.
First if you dont have static ip or if you have i prefer to go to http://www.noip.com and make account than click on add a host and than select Port 80 Redirect
you will get your public ip automatically and than add a host it will take upto five minute to start working and it will keep track of your dynamic ip don't worry about dynamic ip.
Than Go to C:\Windows\System32\Drivers\etc\hosts.
Open the host file add as given below.
127.0.0.1 yourhostname.zapto.org.
Save the file and done.
I hope you will be able to access your xampp and local website with public ip.

Cannot connect to IIS using own IP

I am hosting an asp.net MVC 3 application on my local IIS 7.5 server. People can connect using my IP and the port I set. I can connect by typing localhost:port in a browser. If I type the IP:port however, the browser says it cannot connect.
Using wamp and other hosting programs (and even IIS at one point if memory serves), I could always connect using my own IP.
How can I set IIS to let me connect using my own IP? Or is the problem somewhere else?
My firewall is disabled, the port is forwarded and other people can connect just fine (people outside my LAN) and I have tried 3 browsers.
You cannot connect to your IIS using static IP, but, howerver you can by adding your Static IP as a lookup entry.
Please check this link:
How to Edit Your Windows Hosts File
The article explains how to resolve the IP to reach the IIS locally.

Resources