Connecting to tomcat from LAN: [closed] - apache

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I just installed Apache Tomcat 7 on my Windows 7 machine. My question is, how can I connect to this server from another computer in my home. ideally id like to connect with something like 192.168..:8080 but that does not seem to be working now. This is on a private network so my understanding is that ports being block should not be an issue right? I mean if the computer can ping each other.
Thank you.
Update: I turned of my windows firewall and I was able to connect from another machine. However, I want to do this while my firewall is on. How would I allow it?

May be the firewall be up on the Tomcat installed computer
How to configure firewalls and Network Address Translation (NAT) for Windows Media Services 9 Series --> refer section --> Enabling access to an encoder outside a firewall

Related

No connection could be made because the target machine actively refused it 127.0.0.1:10000 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
So I've been getting this error when I run my program, an F# web app, on my laptop, but not when I run it on my desktop. I know it has something to do with the firewall ports, and I've opened the port my web app uses, but for some reason I still get this error.
The web app is a simple Owin api with SPA front end, and it's meant to get data from my SQL Express database.
When it runs, my web app, is hosted on iis express and I've set it too port :1337. I've done a netstat -a to see all the ports, 1337 is set as listening, while :10000 isn't listed.
Any ideas?
The IP address 127.0.0.1 is always a loopback port and is the same as "localhost". So you can't access that IP across a switch, a router, etc.
Find out the actual IP address of your desktop (where I presume your application is) and try to access it that way. For windows, you can do run "ipconfig" at the command prompt. For Linux you can run "ifconfig"

Reverse tunneling [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
i want to visit my xampp localhost from my server ip. my broadband internet provider does not allow me to forward any port so i need to do reverse tunneling. so if some one visit 216.158.xxx.xxx:27272 (my vps ip is 216.158.xxx.xxx) he/she will see my pc contents of 127.0.0.1:27272
i m using putty on my pc and centos 7 on my vps server.
i try to configure putty by going to ssh tunnel
source:27272
destination: 127.0.0.1:27272
its not working
i have set GatewayPorts yes on my vps
EDIT: I have fixed this problem
You have to open the port 27272 on your VPS. If it has a static IP-address configuring the firewall might be enough. This gives everybody public access.

Free web hosting with Tomcat? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a .war file that needs to be deployed in a public ip in order to work. Do you know a free web host that I could try to deploy it? I know dozens solutions with Apache, PHP , MySQL but never really heard anything about Tomcat.
Any ideas?
simplest answer, even if this requires a bit of work, AWS.
Create a free AWS account.
Fire up EC2 instance in free tier
Login to EC2 instance(your own server)
Download tomcat via wget
Assign public IP to that instance and open port 8080 or whatever you assign
Deploy and enjoy!

PuTTy connecting to server from one machine and not from another [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to connect to a server(linux) via SSH from a windows m/c via putty.
I can connect to the server from my m/c using putty but when i try to do the same from another machine, i get an error.
All configs are the same. Can you please give some pointers as to what might be the issue.
Note: I am able to do an FTP(port 21) to the same server via WinSCP on both machines. It's just putty which is not doing SSH on the other m/c. It's fine on my m/c.
Any directions would be much appreciated.
Thanks.
Can you log in with WinSCP via SFTP/SCP? If not, then the server might be firewalled against that other machine. Or maybe the two machines are connected to the server with different interfaces and SSH is configured to only listen to one of them. Check the firewall on the server and, for good measure, the firewall on your client.

How to allow specific IPs though the firewall? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a local Apache server and I want it to be accessible from other machine. I found out that it's possible after turning off (the external, Windows based) firewall.
Can I make it accessible from a specific IP without turning the firewall off?
Go to Windows Firewall GUI and add an exception from the Exceptions Tab..while adding the exception you can change it's scope and can provide a specific IP under Custom List..
Do ensure that the Don't allow exceptions checkbox on the General Tab under the Windows Firewall GUI is Unchecked..
VoilĂ  your Apache server is now accessible from a specific IP without turning the firewall off..!!